added floating camera

This commit is contained in:
2026-04-27 15:11:18 +02:00
parent 687ecb7f74
commit cde7490211
4 changed files with 37 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
#include "camera/Floating_Camera.hpp"
FloatingCamera::FloatingCamera(float fov, float width, float height) : FPSCamera(fov, width, height) {
}
void FloatingCamera::moveUp(float amount) {
translate(up * amount);
}