i forgot
This commit is contained in:
parent
a17c73d3c9
commit
d74c49fed5
6 changed files with 34 additions and 19 deletions
|
@ -88,7 +88,7 @@ int main(int argc, char** argv)
|
|||
|
||||
shader->Use();
|
||||
shader->SetUniform("model", utah);
|
||||
shader->SetUniformMatrix4fv("view", 1, GL_FALSE, camera.GetMatrix());
|
||||
shader->SetUniform("view", camera);
|
||||
shader->SetUniformMatrix4fv("projection", 1, GL_FALSE, camera.GetProjectionMatrix());
|
||||
|
||||
oglu::PolygonMode(GL_FRONT_AND_BACK, GL_LINE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue