diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/g3dhax.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/g3dhax.h b/include/g3dhax.h index 703b6d6..39872a2 100644 --- a/include/g3dhax.h +++ b/include/g3dhax.h @@ -139,6 +139,36 @@ public: namespace m3d { + // I need to do scnLeaf_c some time... + + class proc_c { + public: + proc_c(); + virtual ~proc_c(); + + void setup(void *allocator = 0, u32 *size = 0); + virtual int returnUnknown(); + virtual void free(); + virtual bool scheduleForDrawing(); + virtual void draw1() = 0; + virtual void draw2() = 0; + + void setScnObjOption(ulong, ulong); + bool getScnObjOption(ulong, ulong*); + + void setScale(float x, float y, float z); + void setScale(Vec vec); + + void setDrawMatrix(Mtx *mtx); + void getLocalMatrix(Mtx *mtx); + void getViewMatrix(Mtx *mtx); + + void calcWorld(bool); + void calcView(bool); + + void setDrawPriorities(int opa, int xlu); + }; + class mdl_c { public: mdl_c(); |