Introduce Camera.h/cpp defining abstract Camera, FPSCamera, OrbitCamera. Update engine.h to include Camera and window size fields. Implement cameraUpdate in engine.cpp handling mouse movement and key input. Add framebuffer size and scroll callbacks for viewport resizing and zoom. Remove legacy loop files (cube, rainbowWindow, rbgTriangle). Adjust main.cpp formatting. Update onCreate to load objects with textures and transforms. Modify onUpdate to use Camera's view/projection matrices instead of hardcoded values. |
||
|---|---|---|
| assets | ||
| include | ||
| src | ||
| .gitignore | ||
| BUILD.md | ||
| CMakeLists.txt | ||