Danp1140 / Vulkan-Sandbox

Slowly building up basic Vulkan functionality, combining 3D graphics, physical simulation, and procedural generation to make a small explorable area.
0 stars 0 forks source link

fix: Differentiate Camera standing position versus eye position #17

Open Danp1140 opened 1 month ago

Danp1140 commented 1 month ago

Sometimes you just see vec3(0, 0.5, 0) getting added to the camera position to get the eye position, I think this should all be managed interior to the Camera class, in case this number changes and for general cleanliness.

Danp1140 commented 1 month ago

e.g., WangingEngine() setting testterrain's PC's camerapos.