Added infos to camera
This commit is contained in:
@@ -37,6 +37,7 @@ glm::mat4 OrtographicCamera::getViewMatrix() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
glm::mat4 OrtographicCamera::getProjectionMatrix() {
|
glm::mat4 OrtographicCamera::getProjectionMatrix() {
|
||||||
|
//Dies gibt die Größe des kamera auschnittes an die in die welt zeigt (Frustum)
|
||||||
int width = 800;
|
int width = 800;
|
||||||
int height = 600;
|
int height = 600;
|
||||||
glm::mat4 projection;
|
glm::mat4 projection;
|
||||||
|
|||||||
Reference in New Issue
Block a user