Clean up of sandbox

* Added a statistics panel
* Added comments to `Sandbox.cpp`
* Moved utility functions and GUI code out of sandbox.cpp
This commit is contained in:
2022-05-29 15:23:08 +02:00
parent 8cc6ed1f15
commit 02727c74bb
8 changed files with 183 additions and 76 deletions

View File

@ -2,6 +2,8 @@
out vec4 FragColor;
uniform vec3 MatColour;
void main(){
FragColor = vec4(0.5f, 0.5f, 0.0f , 1.0f);
FragColor = vec4(MatColour, 1.0f);
}