Bump engine submodule and add width and height params.
This commit is contained in:
parent
e2a5ef20cc
commit
97bd087a75
2
engine
2
engine
@ -1 +1 @@
|
|||||||
Subproject commit 94fa36def45efdd7265cce9891734a5e7679d3d2
|
Subproject commit 1855778fa7439c308b8a79282163c52f5f93f0c6
|
@ -28,7 +28,7 @@ def main():
|
|||||||
print("Done: ", round(gen_end - gen_begin, 2), "seconds")
|
print("Done: ", round(gen_end - gen_begin, 2), "seconds")
|
||||||
|
|
||||||
print("Initializing...")
|
print("Initializing...")
|
||||||
window = initialize(b'RK Island')
|
window = initialize(b'RK Island', 1600, 900)
|
||||||
terrain_shader = load_shader(b'game/shaders/terrain')
|
terrain_shader = load_shader(b'game/shaders/terrain')
|
||||||
sky_shader = load_shader(b'game/shaders/sky')
|
sky_shader = load_shader(b'game/shaders/sky')
|
||||||
|
|
||||||
@ -234,9 +234,9 @@ def main():
|
|||||||
# lookat = vec3((0.0, 500.0, -500.0))
|
# lookat = vec3((0.0, 500.0, -500.0))
|
||||||
# for x in range(10000)
|
# for x in range(10000)
|
||||||
# current_time = 0
|
# current_time = 0
|
||||||
# Draw * 10000 : min = 0.11 , max = 1.52 , avg = 0.18 ms
|
# Draw * 10000 : min = 0.11 , max = 1.87 , avg = 0.16 ms
|
||||||
# Draw * 10000 : min = 0.12 , max = 1.74 , avg = 0.18 ms
|
# Draw * 10000 : min = 0.11 , max = 1.75 , avg = 0.17 ms
|
||||||
# Draw * 10000 : min = 0.12 , max = 1.92 , avg = 0.18 ms
|
# Draw * 10000 : min = 0.11 , max = 1.84 , avg = 0.17 ms
|
||||||
|
|
||||||
print("Quitting...")
|
print("Quitting...")
|
||||||
del tests_batch
|
del tests_batch
|
||||||
|
Loading…
Reference in New Issue
Block a user