summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphAnimator
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-16 18:05:17 -0400
committerGitHub <noreply@github.com>2026-08-16 18:05:17 -0400
commite389a9b814baaabdbf497cd32edcdd2c30d3ff3f (patch)
tree56ad6749c02048448a4f5ce90688efdc7dab1dbe /include/JSystem/J3DGraphAnimator
parent2d094c263e6145e69e254ec8ad4e71e3ea95a72b (diff)
demo work (#1172)
* Some d_message demo matches * More demo matches * fix jpn
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DJoint.h18
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 */