From a219601e4dcfad3952ff3e6980b4cbccc1ca25e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=93=D7=95=D7=A8=20=D7=A9=D7=A4=D7=99=D7=A8=D7=90?= Date: Sat, 24 Sep 2022 14:53:41 +0300 Subject: [PATCH] making shapes_lines_bezier.py stand for the Python API conventions --- examples/shapes/shapes_lines_bezier.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/shapes/shapes_lines_bezier.py b/examples/shapes/shapes_lines_bezier.py index e359d4f..78fe515 100644 --- a/examples/shapes/shapes_lines_bezier.py +++ b/examples/shapes/shapes_lines_bezier.py @@ -14,21 +14,20 @@ from raylib.colors import ( ) # ------------------------------------------------------------------------------------ - # ------------------------------------------------------------------------------------ # Program main entry point # ------------------------------------------------------------------------------------ def main(): # Initialization # ------------------------------------------------------------------------------------ - screenWidth = 800 - screenHeight = 450 + SCREEN_WIDTH = 800 + SCREEN_HEIGHT = 450 set_config_flags(ConfigFlags.FLAG_MSAA_4X_HINT) - init_window(screenWidth, screenHeight, "raylib [shapes] example - cubic-bezier lines") + init_window(SCREEN_WIDTH, SCREEN_HEIGHT, "raylib [shapes] example - cubic-bezier lines") start = Vector2(0, 0) - end = Vector2(screenWidth, screenHeight) + end = Vector2(SCREEN_WIDTH, SCREEN_HEIGHT) set_target_fps(60) # Set our game to run at 60 frames-per-second # -------------------------------------------------------------------------------------