mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-12-07 23:46:35 +01: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