Merge pull request #524 from Jcw87/J3DJoint

J3DJoint
This commit is contained in:
Jasper St. Pierre
2023-10-16 13:36:36 -07:00
committed by GitHub
6 changed files with 201 additions and 28 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ typedef int (*J3DNodeCallBack)(J3DNode*, int);
class J3DNode {
public:
virtual void init(J3DModelData*) {}
virtual void entryIn();
virtual void entryIn() {}
virtual void calcIn() {}
virtual void calcOut() {}
virtual u32 getType() const;
virtual u32 getType() const { return 'NNON'; }
virtual ~J3DNode();
J3DNode();
@@ -42,6 +42,7 @@ public:
virtual void change();
J3DMaterial* getNext() const { return mNext; }
void setNext(J3DMaterial* material) {mNext = material; }
J3DShape* getShape() const { return mShape; }
u32 getMaterialMode() { return mMaterialMode; }
void setMaterialMode(u32 mode) { mMaterialMode = mode; }