Bump engine submodule and add width and height params.

This commit is contained in:
Roz K 2022-09-19 02:37:31 +02:00
parent e2a5ef20cc
commit 97bd087a75
Signed by: roz
GPG Key ID: 51FBF4E483E1C822
2 changed files with 5 additions and 5 deletions

2
engine

@ -1 +1 @@
Subproject commit 94fa36def45efdd7265cce9891734a5e7679d3d2
Subproject commit 1855778fa7439c308b8a79282163c52f5f93f0c6

View File

@ -28,7 +28,7 @@ def main():
print("Done: ", round(gen_end - gen_begin, 2), "seconds")
print("Initializing...")
window = initialize(b'RK Island')
window = initialize(b'RK Island', 1600, 900)
terrain_shader = load_shader(b'game/shaders/terrain')
sky_shader = load_shader(b'game/shaders/sky')
@ -234,9 +234,9 @@ def main():
# lookat = vec3((0.0, 500.0, -500.0))
# for x in range(10000)
# current_time = 0
# Draw * 10000 : min = 0.11 , max = 1.52 , avg = 0.18 ms
# Draw * 10000 : min = 0.12 , max = 1.74 , avg = 0.18 ms
# Draw * 10000 : min = 0.12 , max = 1.92 , avg = 0.18 ms
# Draw * 10000 : min = 0.11 , max = 1.87 , avg = 0.16 ms
# Draw * 10000 : min = 0.11 , max = 1.75 , avg = 0.17 ms
# Draw * 10000 : min = 0.11 , max = 1.84 , avg = 0.17 ms
print("Quitting...")
del tests_batch