You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
@@ -712,7 +712,7 @@ void geo_process_animated_part(struct GraphNodeAnimatedPart *node) {
|
||||
* Render an animated part that has an initial rotation value
|
||||
*/
|
||||
void geo_process_bone(struct GraphNodeBone *node) {
|
||||
Vec3s rotation = {0, 0, 0};
|
||||
Vec3s rotation = {node->rotation[0], node->rotation[1], node->rotation[2] };
|
||||
Vec3f translation = {node->translation[0], node->translation[1], node->translation[2]};
|
||||
|
||||
if (gCurAnimType == ANIM_TYPE_TRANSLATION) {
|
||||
@@ -739,9 +739,9 @@ void geo_process_bone(struct GraphNodeBone *node) {
|
||||
}
|
||||
}
|
||||
if (gCurAnimType == ANIM_TYPE_ROTATION) {
|
||||
rotation[0] = gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
rotation[1] = gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
rotation[2] = gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
rotation[0] += gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
rotation[1] += gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
rotation[2] += gCurAnimData[retrieve_animation_index(gCurrAnimFrame, &gCurrAnimAttribute)];
|
||||
}
|
||||
mtxf_rot_trans_mul(rotation, translation, gMatStack[gMatStackIndex + 1], gMatStack[gMatStackIndex]);
|
||||
inc_mat_stack();
|
||||
|
||||
Reference in New Issue
Block a user