Implemented basic game dll interaction

This commit is contained in:
Dynamitos committed 2023-01-29 18:58:59 +01:00
1 parent 2208ab438a
commit 0dce84459e
72 files changed
+1297 -350

No files matched your search

-1
View File
@@ -69,7 +69,6 @@ void ViewportControl::update(Component::Camera& camera, float deltaTime)
sin(pitch),
sin(yaw) * cos(pitch)));
camera.viewMatrix = glm::lookAt(position, position + springArm, Vector(0, 1, 0));
camera.projectionMatrix = glm::perspective(fieldOfView, aspectRatio, 0.1f, 1000.0f);
std::cout << yaw << " " << pitch << std::endl;
}