From 0413154d722d29df43887607c2dabbb6eb27cbf6 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Mon, 16 Oct 2023 02:21:22 -0700 Subject: J3DJoint --- include/JSystem/J3DGraphAnimator/J3DNode.h | 4 ++-- include/JSystem/J3DGraphBase/J3DMaterial.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include/JSystem') diff --git a/include/JSystem/J3DGraphAnimator/J3DNode.h b/include/JSystem/J3DGraphAnimator/J3DNode.h index ec8a783d..954fde89 100644 --- a/include/JSystem/J3DGraphAnimator/J3DNode.h +++ b/include/JSystem/J3DGraphAnimator/J3DNode.h @@ -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(); diff --git a/include/JSystem/J3DGraphBase/J3DMaterial.h b/include/JSystem/J3DGraphBase/J3DMaterial.h index 7bc64fce..7ecda53c 100644 --- a/include/JSystem/J3DGraphBase/J3DMaterial.h +++ b/include/JSystem/J3DGraphBase/J3DMaterial.h @@ -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; } -- cgit v1.2.3