diff options
author | Treeki <treeki@gmail.com> | 2011-05-28 01:27:56 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-05-28 01:27:56 +0200 |
commit | 6b714856d7d1d3de0e7455f2100e031a2d6e344d (patch) | |
tree | 3ff8c442fb2ca66469b37f8183790e5d5d46a3c8 /include | |
parent | c20a2ae18846f3240a3febf68b191e3f64cc45ef (diff) | |
download | kamek-6b714856d7d1d3de0e7455f2100e031a2d6e344d.tar.gz kamek-6b714856d7d1d3de0e7455f2100e031a2d6e344d.zip |
initial commit to path-stuff. I'll be screwing with paths here...
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(); |