couch/scripting/couch.i

21 lines
361 B
OpenEdge ABL
Raw Normal View History

2021-01-13 16:47:16 -06:00
%module couch
%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"
%include "Transform.h"
%include "Mesh.h"
%include "Ball.h"
%include "Camera.h"
extern void AddMeshToList(Mesh &mesh);