mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-07-16 22:06:43 +02:00
add camera view dir helper
This commit is contained in:
@@ -47,6 +47,8 @@ namespace MM::OpenGL {
|
||||
glm::mat4 getView(void) const;
|
||||
glm::mat4 getProjection(void) const;
|
||||
|
||||
glm::vec3 getViewDir(void) const;
|
||||
|
||||
// call updateView beforehand, does not cache
|
||||
std::array<glm::vec4, 6> getFrustumPlanes(void) const;
|
||||
|
||||
|
Reference in New Issue
Block a user