J3DNode/J3DTransform progress

This commit is contained in:
Jasper St. Pierre
2023-09-21 23:26:10 -07:00
parent 96c226599c
commit b60bf4df32
5 changed files with 69 additions and 37 deletions
+14 -3
View File
@@ -8,7 +8,10 @@
/* 802F5BA4-802F5BC8 .text __ct__7J3DNodeFv */
J3DNode::J3DNode() {
/* Nonmatching */
mCallBackUserData = NULL;
mCallBack = NULL;
mChild = NULL;
mYounger = NULL;
}
/* 802F5BC8-802F5C10 .text __dt__7J3DNodeFv */
@@ -17,8 +20,16 @@ J3DNode::~J3DNode() {
}
/* 802F5C10-802F5C44 .text appendChild__7J3DNodeFP7J3DNode */
void J3DNode::appendChild(J3DNode*) {
/* Nonmatching */
void J3DNode::appendChild(J3DNode* pChild) {
if (mChild == NULL) {
mChild = pChild;
} else {
J3DNode* curChild = mChild;
while (curChild->getYounger() != NULL) {
curChild = curChild->getYounger();
}
curChild->setYounger(pChild);
}
}
/* 802F5C44-802F5C48 .text entryIn__7J3DNodeFv */