Zadanie 2 stable version
This commit is contained in:
parent
96ce16c161
commit
9f4f44f895
@ -125,7 +125,7 @@ void display() {
|
||||
glUseProgram(shaderProgram);
|
||||
|
||||
// Ustawienie widoku kamery
|
||||
glm::mat4 view = glm::lookAt(glm::vec3(0, 20, 50), glm::vec3(0, 10, 0), glm::vec3(0, 1, 0));
|
||||
glm::mat4 view = glm::lookAt(glm::vec3(20, 20, 30), glm::vec3(0, 10, 0), glm::vec3(0, 1, 0));
|
||||
glm::mat4 projection = glm::perspective(glm::radians(45.0f), (float)windowWidth / (float)windowHeight, 0.1f, 100.0f);
|
||||
|
||||
// Renderowanie każdej z 10 kul
|
||||
|
Loading…
Reference in New Issue
Block a user