Balls can dance

This commit is contained in:
Dane Johnson
2021-01-13 18:51:58 -06:00
parent 86f6203efc
commit 3c652884c2
5 changed files with 102 additions and 5 deletions

View File

@@ -2,19 +2,20 @@
%typemap(in) cfloat {
$1 = (cfloat) lua_tonumber(L, $input);
}
}
%{
#include "types.h"
#include "Transform.h"
#include "Mesh.h"
#include "Ball.h"
#include "Camera.h"
extern void AddMeshToList(Mesh &mesh);
%}
%include "types.h"
struct Vector3 {
double x, y, z;
};
%include "Transform.h"
%include "Mesh.h"
%include "Ball.h"
%include "Camera.h"
extern void AddMeshToList(Mesh &mesh);