Skip to content

Commit

Permalink
Fix FBX translation component
Browse files Browse the repository at this point in the history
  • Loading branch information
DBauer15 committed Apr 3, 2024
1 parent 03dfdac commit 6b1233c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backstage/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ void FBXScene::loadFBX(std::string scene) {
stage_vec4f(stage_vec3f(fbx_instance->node_to_world.cols[0].x, fbx_instance->node_to_world.cols[0].y, fbx_instance->node_to_world.cols[0].z), 0.f),
stage_vec4f(stage_vec3f(fbx_instance->node_to_world.cols[1].x, fbx_instance->node_to_world.cols[1].y, fbx_instance->node_to_world.cols[1].z), 0.f),
stage_vec4f(stage_vec3f(fbx_instance->node_to_world.cols[2].x, fbx_instance->node_to_world.cols[2].y, fbx_instance->node_to_world.cols[2].z), 0.f),
stage_vec4f(0.f, 0.f, 0.f, 1.f)
stage_vec4f(stage_vec3f(fbx_instance->node_to_world.cols[3].x, fbx_instance->node_to_world.cols[3].y, fbx_instance->node_to_world.cols[3].z), 1.f)
);

m_instances.push_back(instance);
Expand Down

0 comments on commit 6b1233c

Please sign in to comment.