This commit is contained in:
2022-10-19 22:59:48 -07:00
parent acc9d798cb
commit 0033785251
20 changed files with 502 additions and 15 deletions

View File

@ -44,6 +44,16 @@ namespace Dawn {
*/
void updateProjection();
void lookAt(glm::vec3 position, glm::vec3 look);
void lookAt(glm::vec3 position, glm::vec3 look, glm::vec3 up);
/**
* Returns the intended render target for this camera to render to, will
* automatically revert to the back buffer if no frame buffer is provided.
*
* @return The target render target framebuffer.
*/
RenderTarget & getRenderTarget();
/**