Partial Jolt implementation and some model loader fixes.

This commit is contained in:
Antoine Pilote
2023-03-01 22:05:23 -05:00
parent 972caf4163
commit f8643f1dcf
11 changed files with 282 additions and 87 deletions
@@ -89,6 +89,8 @@ namespace Nuake
void TransformComponent::SetGlobalTransform(const Matrix4& transform)
{
GlobalTransform = transform;
GlobalTranslation = Vector3(transform[3]);
}
Matrix4 TransformComponent::GetLocalTransform() const
@@ -99,5 +101,6 @@ namespace Nuake
void TransformComponent::SetLocalTransform(const Matrix4& transform)
{
LocalTransform = transform;
Translation = Vector3(transform[3]);
}
}