ecere/gfx/3D: Camera integration support
authorJerome St-Louis <jerome@ecere.com>
Sat, 19 Dec 2015 21:05:59 +0000 (16:05 -0500)
committerJerome St-Louis <jerome@ecere.com>
Fri, 29 Apr 2016 16:27:19 +0000 (12:27 -0400)
commit234f37a0787e76cfbd06ed86a4ca1c58fb2afad8
tree84754858a34c674d0da4659dd866c47480caa20c
parent246dea0570aa674ff6afc654f45022b3f8a445cf
ecere/gfx/3D: Camera integration support
- For integrating with Display::DrawMesh() / Display::DrawTranslucency()
- Directly setting viewMatrix and cPosition
- Not recomputing the camera when SetCamera is called with a null surface
ecere/src/gfx/3D/Camera.ec
ecere/src/gfx/Display.ec
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec