2021-01-13 16:47:16 -06:00
|
|
|
%module couch
|
|
|
|
|
2021-01-15 17:51:19 -06:00
|
|
|
%include "typemaps.i"
|
|
|
|
|
2021-01-13 16:47:16 -06:00
|
|
|
%{
|
2021-01-15 17:51:19 -06:00
|
|
|
#include "types.h"
|
2021-01-14 11:52:01 -06:00
|
|
|
#include "Node.h"
|
2021-01-13 16:47:16 -06:00
|
|
|
#include "Transform.h"
|
2021-01-14 11:52:01 -06:00
|
|
|
#include "Spatial.h"
|
|
|
|
#include "Drawable.h"
|
2021-01-13 16:47:16 -06:00
|
|
|
#include "Mesh.h"
|
|
|
|
#include "Ball.h"
|
|
|
|
#include "Camera.h"
|
2021-01-15 17:51:19 -06:00
|
|
|
%}
|
|
|
|
|
2021-01-14 11:52:01 -06:00
|
|
|
typedef float cfloat;
|
2021-01-15 17:51:19 -06:00
|
|
|
%ignore "cfloat";
|
|
|
|
|
|
|
|
class Vector3 {
|
|
|
|
public:
|
2021-01-14 11:52:01 -06:00
|
|
|
cfloat x, y, z;
|
2021-01-13 18:51:58 -06:00
|
|
|
};
|
2021-01-15 17:51:19 -06:00
|
|
|
%ignore "Vector3";
|
|
|
|
|
|
|
|
%include "types.h"
|
2021-01-14 11:52:01 -06:00
|
|
|
%include "Node.h"
|
|
|
|
%include "Spatial.h"
|
2021-01-13 16:47:16 -06:00
|
|
|
%include "Transform.h"
|
2021-01-14 11:52:01 -06:00
|
|
|
%include "Drawable.h"
|
2021-01-13 16:47:16 -06:00
|
|
|
%include "Mesh.h"
|
|
|
|
%include "Ball.h"
|
|
|
|
%include "Camera.h"
|
2021-01-15 17:51:19 -06:00
|
|
|
|