From cb76516a0db8c20d016af8c37ad0c4f3cd5375d6 Mon Sep 17 00:00:00 2001 From: Mats Gottenbos <matsgottenbos@gmail.com> Date: Sun, 24 Jan 2021 11:36:51 +0100 Subject: [PATCH] Added a comment --- games/racecar_deps/car_racing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/racecar_deps/car_racing.py b/games/racecar_deps/car_racing.py index 64f1573..f9009ca 100644 --- a/games/racecar_deps/car_racing.py +++ b/games/racecar_deps/car_racing.py @@ -415,7 +415,7 @@ class CarRacing(gym.Env, EzPickle): # Animate zoom first second: # zoom = 0.1 * SCALE * max(1 - self.t, 0) + ZOOM * SCALE * min(self.t, 1) - zoom = ZOOM * SCALE + zoom = ZOOM * SCALE # Custom change: disabled zoomed out start of game scroll_x = self.car.hull.position[0] scroll_y = self.car.hull.position[1] angle = -self.car.hull.angle -- GitLab