Balls can dance
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user