diff options
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DJoint.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h index 6f46ba1b..bc0bd18f 100644 --- a/include/JSystem/J3DGraphAnimator/J3DJoint.h +++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h @@ -133,14 +133,14 @@ class J3DJoint : public J3DNode { public: void initialize(); void addMesh(J3DMaterial*); - void calcIn(); - void calcOut(); - void entryIn(); - u32 getType() const { return 'NJNT'; } + virtual void calcIn(); + virtual void calcOut(); + virtual void entryIn(); + virtual u32 getType() const { return 'NJNT'; } void recursiveCalc(); J3DJoint() { initialize(); } - ~J3DJoint() {} + virtual ~J3DJoint() {} J3DMaterial* getMesh() { return mMesh; } u16 getJntNo() const { return mJntNo; } @@ -176,4 +176,12 @@ private: /* 0x60 */ J3DMaterial* mMesh; }; // Size: 0x64 +inline BOOL checkScaleOne(Vec v) { + if (v.x == 1.0f && v.y == 1.0f && v.z == 1.0f) { + return TRUE; + } else { + return FALSE; + } +} + #endif /* J3DJOINT_H */ |
