diff options
| author | Ray <[email protected]> | 2020-10-05 20:11:54 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-10-05 20:11:54 +0200 |
| commit | 55b7b3e82e091906069bb60fa529239358de5f93 (patch) | |
| tree | 8f6f4e26edd6f5bb01978125d7616d866a29204e /examples/web/core | |
| parent | 0f62427a0c1ea747a6181a41aef496e389f46e7e (diff) | |
| download | raylib.com-55b7b3e82e091906069bb60fa529239358de5f93.tar.gz raylib.com-55b7b3e82e091906069bb60fa529239358de5f93.zip | |
Review "aggreagate initializations"
Diffstat (limited to 'examples/web/core')
| -rw-r--r-- | examples/web/core/core_input_gestures.c | 2 | ||||
| -rw-r--r-- | examples/web/core/core_input_multitouch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/core/core_input_gestures.c b/examples/web/core/core_input_gestures.c index 308f890..509f6f4 100644 --- a/examples/web/core/core_input_gestures.c +++ b/examples/web/core/core_input_gestures.c @@ -26,7 +26,7 @@ const int screenHeight = 450; // NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required) -Vector2 touchPosition = { 0.0f }; +Vector2 touchPosition = { 0 }; Rectangle touchArea = { 0 }; int gesturesCount = 0; diff --git a/examples/web/core/core_input_multitouch.c b/examples/web/core/core_input_multitouch.c index 75f659c..915ef0b 100644 --- a/examples/web/core/core_input_multitouch.c +++ b/examples/web/core/core_input_multitouch.c @@ -29,7 +29,7 @@ Vector2 ballPosition = { -100.0f, -100.0f }; Color ballColor = BEIGE; int touchCounter = 0; -Vector2 touchPosition = { 0.0f }; +Vector2 touchPosition = { 0 }; //---------------------------------------------------------------------------------- // Module Functions Declaration |
