#ifndef _CUBE_H
#define _CUBE_H
#define DIGRAPHENE_GRAPHICS_BUFFER_IMPLEMENTATION
#define DIGRAPHENE_GRAPHICS_CAMERA_IMPLEMENTATION
#define DIGRAPHENE_GRAPHICS_MESH_IMPLEMENTATION
#define DIGRAPHENE_GRAPHICS_SHADER_IMPLEMENTATION
#include <Components/Data/Vector3.cpp>
#include <Components/TopLevel/GameObject.cpp>
#include <cassert>
#include <cmath>
#include <cstring>
#include <iostream>
struct Cube : public GameObject {
Game() : GameObject("Cube") {}
Vector3 position;
Vector3 size;
};
void registerCube(lua_State* L) {
luabridge::getGlobalNamespace(L)
.beginNamespace("Core")
.deriveClass <Cube, GameObject> ("Cube")
.addProperty ("position", &Cube::position)
.addProperty ("size", &Cube::size)
.endClass()
.endNamespace();
}
#endif