Compare commits
2 Commits
1649af9943
...
3c2db2dc2c
Author | SHA1 | Date | |
---|---|---|---|
3c2db2dc2c | |||
6859c8b200 |
13
README.md
13
README.md
@ -4,7 +4,18 @@
|
||||
|
||||
C++ ECS OpenGL game demo.
|
||||
|
||||
Building requires OpenGL 3.2+, GLFW, GLM and GLAD.
|
||||
## Movement
|
||||
- Moving and panning: WASD and mouse
|
||||
- Switching between free-look and path-mode: P
|
||||
- Adding a path point: R
|
||||
- Changing speed in path-mode: W/S
|
||||
- Toggle anti-aliasing: Q
|
||||
|
||||
## Building
|
||||
|
||||
Building requires OpenGL 3.2+, GLFW, GLM and GLAD. CMake is used for compiling.
|
||||
|
||||
## Credits
|
||||
|
||||
Some code adapted from Joey de Vries' (https://twitter.com/JoeyDeVriez) tutorials at https://learnopengl.com/About licensed under https://creativecommons.org/licenses/by-nc/4.0/.
|
||||
|
||||
|
@ -129,6 +129,8 @@ class KDTree {
|
||||
result = current_result;
|
||||
}
|
||||
}
|
||||
|
||||
delete[] current_result.c;
|
||||
}
|
||||
|
||||
// Is the ray origin within the left or right child node bounding box?
|
||||
|
Loading…
x
Reference in New Issue
Block a user