Scene tree

This commit is contained in:
Dane Johnson
2021-01-14 11:52:01 -06:00
parent 35f43e9520
commit a3e4a0d512
12 changed files with 122 additions and 27 deletions

View File

@@ -4,18 +4,22 @@
$1 = (cfloat) lua_tonumber(L, $input);
}
%{
#include "Node.h"
#include "Transform.h"
#include "Spatial.h"
#include "Drawable.h"
#include "Mesh.h"
#include "Ball.h"
#include "Camera.h"
extern void AddMeshToList(Mesh &mesh);
%}
typedef float cfloat;
struct Vector3 {
double x, y, z;
cfloat x, y, z;
};
%include "Node.h"
%include "Spatial.h"
%include "Transform.h"
%include "Drawable.h"
%include "Mesh.h"
%include "Ball.h"
%include "Camera.h"
extern void AddMeshToList(Mesh &mesh);