Have 100 cubes flying around in a circle with refraction.
This commit is contained in:
parent
1107c86036
commit
a199d41890
7 changed files with 29 additions and 15 deletions
|
|
@ -144,6 +144,7 @@ int main() {
|
|||
glfwSetWindowUserPointer(window, &scene);
|
||||
|
||||
while(!glfwWindowShouldClose(window)) {
|
||||
scene.time_warp();
|
||||
update(window, scene);
|
||||
render(window, scene);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue