From 97bd087a75d82390c0cf17b7b68a3e70d4575023 Mon Sep 17 00:00:00 2001 From: Roz K Date: Mon, 19 Sep 2022 02:37:31 +0200 Subject: [PATCH] Bump engine submodule and add width and height params. --- engine | 2 +- game/game.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/engine b/engine index 94fa36d..1855778 160000 --- a/engine +++ b/engine @@ -1 +1 @@ -Subproject commit 94fa36def45efdd7265cce9891734a5e7679d3d2 +Subproject commit 1855778fa7439c308b8a79282163c52f5f93f0c6 diff --git a/game/game.py b/game/game.py index c9f2b13..2f95ae2 100644 --- a/game/game.py +++ b/game/game.py @@ -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