Starting to integrate mesh optimizer

This commit is contained in:
Dynamitos committed 2025-05-12 22:48:01 +02:00
1 parent 10f2a9235b
commit f873d6db26
21 files changed
+446 -288

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ DirectionalLightActor::DirectionalLightActor(PScene scene, Vector color, float i
float angle = std::acos(dot); // angle between vectors
rotation = glm::angleAxis(angle, axis);
}
attachComponent<Component::Transform>(Math::Transform(Vector(0, 0, 0), rotation));
getTransform().setRotation(rotation);
}
DirectionalLightActor::~DirectionalLightActor() {}