diff --git a/CMakeLists.txt b/CMakeLists.txt index 89a18e9..222caa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ project (raylib-cpp # Options option(BUILD_RAYLIB_CPP_EXAMPLES "Examples" ON) -# C++17 -set(CMAKE_CXX_STANDARD 17) +# C++ +set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) @@ -26,7 +26,7 @@ endif() # Testing include(CTest) enable_testing() -if(BUILD_TESTING) +if(BUILD_TESTING AND BUILD_RAYLIB_CPP_EXAMPLES) set(CTEST_CUSTOM_TESTS_IGNORE pkg-config--static ) diff --git a/README.md b/README.md index 9458ffa..485bd3a 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Vector2 position = {50.0f, 50.0f}; DrawPixelV(position, color); // Extra V in method name. // raylib-cpp -raylib::Color color = GRAY; +raylib::Color color = raylib::Color::Gray(); color.DrawPixel(50, 50); Vector2 position(50.0f, 50.0f); color.DrawPixel(position); // No more V in method name. @@ -222,10 +222,8 @@ OpenURL(url); // raylib-cpp std::string url = "https://raylib.com"; raylib::OpenURL(url); -OpenURL(url.c_str()); // Alternatively ``` - ### RayMath The [raymath](https://github.com/raysan5/raylib/blob/master/src/raymath.h) methods are included. @@ -245,8 +243,9 @@ raylib::Vector2 newDirection = direction.Rotate(30); *raylib-cpp* is a header-only library. This means in order to use it, you must link your project to [raylib](https://www.raylib.com/), and then include [`include/raylib-cpp.hpp`](raylib-cpp/include/raylib-cpp.hpp). 1. Set up a *raylib* project using the [build and install instructions](https://github.com/raysan5/raylib#build-and-installation) -2. Download *raylib-cpp* -3. Include [`raylib-cpp.hpp`](include/raylib-cpp.hpp) +2. Ensure C++ files are compiled with C++ +3. Download *raylib-cpp* +4. Include [`include/raylib-cpp.hpp`](include/raylib-cpp.hpp) ``` cpp #include "path/to/raylib-cpp.hpp" ``` @@ -262,7 +261,7 @@ If there's a project template you would like to see added, feel free to [make an ## Development -The following are some tools in order to build and contribute to raylib-cpp... +The following are some tools in order to build and contribute to *raylib-cpp*... ### Compiling @@ -302,4 +301,4 @@ cpplint --recursive include ## License -raylib-cpp is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details. +*raylib-cpp* is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details. diff --git a/docs/_audio_device_8hpp_source.html b/docs/_audio_device_8hpp_source.html index bbf9dff..3e84d4f 100644 --- a/docs/_audio_device_8hpp_source.html +++ b/docs/_audio_device_8hpp_source.html @@ -122,7 +122,7 @@ $(function() {
1.8.17
diff --git a/docs/_audio_stream_8hpp_source.html b/docs/_audio_stream_8hpp_source.html
index b3fee12..00553f2 100644
--- a/docs/_audio_stream_8hpp_source.html
+++ b/docs/_audio_stream_8hpp_source.html
@@ -181,7 +181,7 @@ $(function() {
1.8.17
diff --git a/docs/_bounding_box_8hpp_source.html b/docs/_bounding_box_8hpp_source.html
index bcec48f..f483d66 100644
--- a/docs/_bounding_box_8hpp_source.html
+++ b/docs/_bounding_box_8hpp_source.html
@@ -139,7 +139,7 @@ $(function() {
1.8.17
diff --git a/docs/_camera2_d_8hpp_source.html b/docs/_camera2_d_8hpp_source.html
index 6f583e2..23f7be7 100644
--- a/docs/_camera2_d_8hpp_source.html
+++ b/docs/_camera2_d_8hpp_source.html
@@ -147,7 +147,7 @@ $(function() {
1.8.17
diff --git a/docs/_camera3_d_8hpp_source.html b/docs/_camera3_d_8hpp_source.html
index fae12af..3156124 100644
--- a/docs/_camera3_d_8hpp_source.html
+++ b/docs/_camera3_d_8hpp_source.html
@@ -214,7 +214,7 @@ $(function() {
1.8.17
diff --git a/docs/_color_8hpp_source.html b/docs/_color_8hpp_source.html
index 9c12dbf..60a3582 100644
--- a/docs/_color_8hpp_source.html
+++ b/docs/_color_8hpp_source.html
@@ -302,7 +302,7 @@ $(function() {
1.8.17
diff --git a/docs/_font_8hpp_source.html b/docs/_font_8hpp_source.html
index af8feb3..1944282 100644
--- a/docs/_font_8hpp_source.html
+++ b/docs/_font_8hpp_source.html
@@ -197,7 +197,7 @@ $(function() {
1.8.17
diff --git a/docs/_functions_8hpp_source.html b/docs/_functions_8hpp_source.html
index 356a91c..ed5dc19 100644
--- a/docs/_functions_8hpp_source.html
+++ b/docs/_functions_8hpp_source.html
@@ -261,7 +261,7 @@ $(function() {
1.8.17
diff --git a/docs/_gamepad_8hpp_source.html b/docs/_gamepad_8hpp_source.html
index 471596e..9f050ee 100644
--- a/docs/_gamepad_8hpp_source.html
+++ b/docs/_gamepad_8hpp_source.html
@@ -173,7 +173,7 @@ $(function() {
1.8.17
diff --git a/docs/_image_8hpp_source.html b/docs/_image_8hpp_source.html
index 80b046b..c376b2f 100644
--- a/docs/_image_8hpp_source.html
+++ b/docs/_image_8hpp_source.html
@@ -539,7 +539,7 @@ $(function() {
1.8.17
diff --git a/docs/_material_8hpp_source.html b/docs/_material_8hpp_source.html
index f45fd8b..67ec50a 100644
--- a/docs/_material_8hpp_source.html
+++ b/docs/_material_8hpp_source.html
@@ -146,7 +146,7 @@ $(function() {
1.8.17
diff --git a/docs/_matrix_8hpp_source.html b/docs/_matrix_8hpp_source.html
index c164771..5cabd98 100644
--- a/docs/_matrix_8hpp_source.html
+++ b/docs/_matrix_8hpp_source.html
@@ -296,7 +296,7 @@ $(function() {
1.8.17
diff --git a/docs/_mesh_8hpp_source.html b/docs/_mesh_8hpp_source.html
index 9afe45d..b804935 100644
--- a/docs/_mesh_8hpp_source.html
+++ b/docs/_mesh_8hpp_source.html
@@ -267,7 +267,7 @@ $(function() {
1.8.17
diff --git a/docs/_model_8hpp_source.html b/docs/_model_8hpp_source.html
index 7e83cdb..a16e41b 100644
--- a/docs/_model_8hpp_source.html
+++ b/docs/_model_8hpp_source.html
@@ -218,7 +218,7 @@ $(function() {
1.8.17
diff --git a/docs/_model_animation_8hpp_source.html b/docs/_model_animation_8hpp_source.html
index 69ed58f..3849bfe 100644
--- a/docs/_model_animation_8hpp_source.html
+++ b/docs/_model_animation_8hpp_source.html
@@ -141,7 +141,7 @@ $(function() {
1.8.17
diff --git a/docs/_mouse_8hpp_source.html b/docs/_mouse_8hpp_source.html
index f325756..988653f 100644
--- a/docs/_mouse_8hpp_source.html
+++ b/docs/_mouse_8hpp_source.html
@@ -159,7 +159,7 @@ $(function() {
1.8.17
diff --git a/docs/_music_8hpp_source.html b/docs/_music_8hpp_source.html
index 55a3bfa..5fff28f 100644
--- a/docs/_music_8hpp_source.html
+++ b/docs/_music_8hpp_source.html
@@ -192,7 +192,7 @@ $(function() {
1.8.17
diff --git a/docs/_physics_8hpp_source.html b/docs/_physics_8hpp_source.html
index a389b44..88cea7e 100644
--- a/docs/_physics_8hpp_source.html
+++ b/docs/_physics_8hpp_source.html
@@ -195,7 +195,7 @@ $(function() {
1.8.17
diff --git a/docs/_ray_8hpp_source.html b/docs/_ray_8hpp_source.html
index 7478240..3cb9867 100644
--- a/docs/_ray_8hpp_source.html
+++ b/docs/_ray_8hpp_source.html
@@ -158,7 +158,7 @@ $(function() {
1.8.17
diff --git a/docs/_ray_hit_info_8hpp_source.html b/docs/_ray_hit_info_8hpp_source.html
index f619e7d..82c8bea 100644
--- a/docs/_ray_hit_info_8hpp_source.html
+++ b/docs/_ray_hit_info_8hpp_source.html
@@ -138,7 +138,7 @@ $(function() {
1.8.17
diff --git a/docs/_rectangle_8hpp_source.html b/docs/_rectangle_8hpp_source.html
index 1e2a040..51b89e8 100644
--- a/docs/_rectangle_8hpp_source.html
+++ b/docs/_rectangle_8hpp_source.html
@@ -230,7 +230,7 @@ $(function() {
1.8.17
diff --git a/docs/_render_texture_8hpp_source.html b/docs/_render_texture_8hpp_source.html
index 79b0386..46f9b60 100644
--- a/docs/_render_texture_8hpp_source.html
+++ b/docs/_render_texture_8hpp_source.html
@@ -138,7 +138,7 @@ $(function() {
1.8.17
diff --git a/docs/_shader_8hpp_source.html b/docs/_shader_8hpp_source.html
index 74fbaf8..f90701f 100644
--- a/docs/_shader_8hpp_source.html
+++ b/docs/_shader_8hpp_source.html
@@ -183,7 +183,7 @@ $(function() {
1.8.17
diff --git a/docs/_sound_8hpp_source.html b/docs/_sound_8hpp_source.html
index 6e144ae..6cbe604 100644
--- a/docs/_sound_8hpp_source.html
+++ b/docs/_sound_8hpp_source.html
@@ -185,7 +185,7 @@ $(function() {
1.8.17
diff --git a/docs/_text_8hpp_source.html b/docs/_text_8hpp_source.html
index cb77ca3..57f9bd7 100644
--- a/docs/_text_8hpp_source.html
+++ b/docs/_text_8hpp_source.html
@@ -120,7 +120,7 @@ $(function() {
1.8.17
diff --git a/docs/_texture_8hpp_source.html b/docs/_texture_8hpp_source.html
index 1bd2f4d..d6c28b0 100644
--- a/docs/_texture_8hpp_source.html
+++ b/docs/_texture_8hpp_source.html
@@ -283,7 +283,7 @@ $(function() {
1.8.17
diff --git a/docs/_vector2_8hpp_source.html b/docs/_vector2_8hpp_source.html
index 1997ac5..79b472d 100644
--- a/docs/_vector2_8hpp_source.html
+++ b/docs/_vector2_8hpp_source.html
@@ -364,7 +364,7 @@ $(function() {
1.8.17
diff --git a/docs/_vector3_8hpp_source.html b/docs/_vector3_8hpp_source.html
index 8b1179e..dbfc5fd 100644
--- a/docs/_vector3_8hpp_source.html
+++ b/docs/_vector3_8hpp_source.html
@@ -382,7 +382,7 @@ $(function() {
1.8.17
diff --git a/docs/_vector4_8hpp_source.html b/docs/_vector4_8hpp_source.html
index 65d9dca..c71eb6c 100644
--- a/docs/_vector4_8hpp_source.html
+++ b/docs/_vector4_8hpp_source.html
@@ -238,7 +238,7 @@ $(function() {
1.8.17
diff --git a/docs/_vr_stereo_config_8hpp_source.html b/docs/_vr_stereo_config_8hpp_source.html
index 519928e..1186aa2 100644
--- a/docs/_vr_stereo_config_8hpp_source.html
+++ b/docs/_vr_stereo_config_8hpp_source.html
@@ -139,7 +139,7 @@ $(function() {
1.8.17
diff --git a/docs/_wave_8hpp_source.html b/docs/_wave_8hpp_source.html
index 74c6f5a..e1540b7 100644
--- a/docs/_wave_8hpp_source.html
+++ b/docs/_wave_8hpp_source.html
@@ -201,7 +201,7 @@ $(function() {
1.8.17
diff --git a/docs/_window_8hpp_source.html b/docs/_window_8hpp_source.html
index 47db75a..c9bb39c 100644
--- a/docs/_window_8hpp_source.html
+++ b/docs/_window_8hpp_source.html
@@ -329,7 +329,7 @@ $(function() {
1.8.17
diff --git a/docs/annotated.html b/docs/annotated.html
index f8076a3..9c26038 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -105,7 +105,7 @@ $(function() {
1.8.17
diff --git a/docs/classes.html b/docs/classes.html
index 492efcf..ee02d36 100644
--- a/docs/classes.html
+++ b/docs/classes.html
@@ -144,7 +144,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_audio_device-members.html b/docs/classraylib_1_1_audio_device-members.html
index b706cc7..77abf9c 100644
--- a/docs/classraylib_1_1_audio_device-members.html
+++ b/docs/classraylib_1_1_audio_device-members.html
@@ -83,7 +83,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_audio_device.html b/docs/classraylib_1_1_audio_device.html
index 80ba839..4eaf5e1 100644
--- a/docs/classraylib_1_1_audio_device.html
+++ b/docs/classraylib_1_1_audio_device.html
@@ -150,7 +150,7 @@ bool
1.8.17
diff --git a/docs/classraylib_1_1_audio_stream-members.html b/docs/classraylib_1_1_audio_stream-members.html
index 80fbeb1..ec2be40 100644
--- a/docs/classraylib_1_1_audio_stream-members.html
+++ b/docs/classraylib_1_1_audio_stream-members.html
@@ -100,7 +100,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_audio_stream.html b/docs/classraylib_1_1_audio_stream.html
index 3c90f77..332584a 100644
--- a/docs/classraylib_1_1_audio_stream.html
+++ b/docs/classraylib_1_1_audio_stream.html
@@ -435,7 +435,7 @@ static void
1.8.17
diff --git a/docs/classraylib_1_1_bounding_box-members.html b/docs/classraylib_1_1_bounding_box-members.html
index b0e4937..cb929ef 100644
--- a/docs/classraylib_1_1_bounding_box-members.html
+++ b/docs/classraylib_1_1_bounding_box-members.html
@@ -89,7 +89,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_bounding_box.html b/docs/classraylib_1_1_bounding_box.html
index a4024b2..0da2b34 100644
--- a/docs/classraylib_1_1_bounding_box.html
+++ b/docs/classraylib_1_1_bounding_box.html
@@ -262,7 +262,7 @@ bool
1.8.17
diff --git a/docs/classraylib_1_1_camera2_d-members.html b/docs/classraylib_1_1_camera2_d-members.html
index 8052695..0d52920 100644
--- a/docs/classraylib_1_1_camera2_d-members.html
+++ b/docs/classraylib_1_1_camera2_d-members.html
@@ -94,7 +94,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_camera2_d.html b/docs/classraylib_1_1_camera2_d.html
index 9d03da1..e0fe394 100644
--- a/docs/classraylib_1_1_camera2_d.html
+++ b/docs/classraylib_1_1_camera2_d.html
@@ -404,7 +404,7 @@ Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_camera3_d-members.html b/docs/classraylib_1_1_camera3_d-members.html
index 80a04db..6221087 100644
--- a/docs/classraylib_1_1_camera3_d-members.html
+++ b/docs/classraylib_1_1_camera3_d-members.html
@@ -103,7 +103,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_camera3_d.html b/docs/classraylib_1_1_camera3_d.html
index 90be7df..523f375 100644
--- a/docs/classraylib_1_1_camera3_d.html
+++ b/docs/classraylib_1_1_camera3_d.html
@@ -506,7 +506,7 @@ Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_color-members.html b/docs/classraylib_1_1_color-members.html
index d399b33..e42bcc7 100644
--- a/docs/classraylib_1_1_color-members.html
+++ b/docs/classraylib_1_1_color-members.html
@@ -144,7 +144,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_color.html b/docs/classraylib_1_1_color.html
index c8b3842..82e512d 100644
--- a/docs/classraylib_1_1_color.html
+++ b/docs/classraylib_1_1_color.html
@@ -573,7 +573,7 @@ static Color
1.8.17
diff --git a/docs/classraylib_1_1_font-members.html b/docs/classraylib_1_1_font-members.html
index 001c823..c8c8480 100644
--- a/docs/classraylib_1_1_font-members.html
+++ b/docs/classraylib_1_1_font-members.html
@@ -105,7 +105,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_font.html b/docs/classraylib_1_1_font.html
index d035cc7..333da0e 100644
--- a/docs/classraylib_1_1_font.html
+++ b/docs/classraylib_1_1_font.html
@@ -569,7 +569,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_gamepad-members.html b/docs/classraylib_1_1_gamepad-members.html
index baf4c36..7eefeb8 100644
--- a/docs/classraylib_1_1_gamepad-members.html
+++ b/docs/classraylib_1_1_gamepad-members.html
@@ -96,7 +96,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_gamepad.html b/docs/classraylib_1_1_gamepad.html
index bbdfa14..a511b8e 100644
--- a/docs/classraylib_1_1_gamepad.html
+++ b/docs/classraylib_1_1_gamepad.html
@@ -232,7 +232,7 @@ int
1.8.17
diff --git a/docs/classraylib_1_1_image-members.html b/docs/classraylib_1_1_image-members.html
index 7a14463..f0f350b 100644
--- a/docs/classraylib_1_1_image-members.html
+++ b/docs/classraylib_1_1_image-members.html
@@ -163,7 +163,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_image.html b/docs/classraylib_1_1_image.html
index dbf7643..819909b 100644
--- a/docs/classraylib_1_1_image.html
+++ b/docs/classraylib_1_1_image.html
@@ -929,7 +929,7 @@ Static Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_material-members.html b/docs/classraylib_1_1_material-members.html
index ea77c88..a5f3604 100644
--- a/docs/classraylib_1_1_material-members.html
+++ b/docs/classraylib_1_1_material-members.html
@@ -88,7 +88,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_material.html b/docs/classraylib_1_1_material.html
index e56bd38..ef2620d 100644
--- a/docs/classraylib_1_1_material.html
+++ b/docs/classraylib_1_1_material.html
@@ -259,7 +259,7 @@ static std::vector< Materi
1.8.17
diff --git a/docs/classraylib_1_1_matrix-members.html b/docs/classraylib_1_1_matrix-members.html
index da446ad..3e26996 100644
--- a/docs/classraylib_1_1_matrix-members.html
+++ b/docs/classraylib_1_1_matrix-members.html
@@ -139,7 +139,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_matrix.html b/docs/classraylib_1_1_matrix.html
index 5b07ac3..8e7ab22 100644
--- a/docs/classraylib_1_1_matrix.html
+++ b/docs/classraylib_1_1_matrix.html
@@ -1338,7 +1338,7 @@ static Matrix
1.8.17
diff --git a/docs/classraylib_1_1_mesh-members.html b/docs/classraylib_1_1_mesh-members.html
index 4520ca8..d776dfc 100644
--- a/docs/classraylib_1_1_mesh-members.html
+++ b/docs/classraylib_1_1_mesh-members.html
@@ -133,7 +133,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_mesh.html b/docs/classraylib_1_1_mesh.html
index a8f0853..b82b65c 100644
--- a/docs/classraylib_1_1_mesh.html
+++ b/docs/classraylib_1_1_mesh.html
@@ -1308,7 +1308,7 @@ Static Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_model-members.html b/docs/classraylib_1_1_model-members.html
index e248c34..51a90f2 100644
--- a/docs/classraylib_1_1_model-members.html
+++ b/docs/classraylib_1_1_model-members.html
@@ -110,7 +110,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_model.html b/docs/classraylib_1_1_model.html
index b5c0ef4..b3cb978 100644
--- a/docs/classraylib_1_1_model.html
+++ b/docs/classraylib_1_1_model.html
@@ -789,7 +789,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_model_animation-members.html b/docs/classraylib_1_1_model_animation-members.html
index 6ef2e99..b34aa29 100644
--- a/docs/classraylib_1_1_model_animation-members.html
+++ b/docs/classraylib_1_1_model_animation-members.html
@@ -92,7 +92,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_model_animation.html b/docs/classraylib_1_1_model_animation.html
index 6614669..53c9096 100644
--- a/docs/classraylib_1_1_model_animation.html
+++ b/docs/classraylib_1_1_model_animation.html
@@ -403,7 +403,7 @@ static std::vector<
1.8.17
diff --git a/docs/classraylib_1_1_mouse-members.html b/docs/classraylib_1_1_mouse-members.html
index 5de36f2..c6d64e6 100644
--- a/docs/classraylib_1_1_mouse-members.html
+++ b/docs/classraylib_1_1_mouse-members.html
@@ -94,7 +94,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_mouse.html b/docs/classraylib_1_1_mouse.html
index 6a8c275..bc12a2c 100644
--- a/docs/classraylib_1_1_mouse.html
+++ b/docs/classraylib_1_1_mouse.html
@@ -142,7 +142,7 @@ static void
1.8.17
diff --git a/docs/classraylib_1_1_music-members.html b/docs/classraylib_1_1_music-members.html
index 41e087f..d75cb23 100644
--- a/docs/classraylib_1_1_music-members.html
+++ b/docs/classraylib_1_1_music-members.html
@@ -103,7 +103,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_music.html b/docs/classraylib_1_1_music.html
index 708933e..a3da83f 100644
--- a/docs/classraylib_1_1_music.html
+++ b/docs/classraylib_1_1_music.html
@@ -511,7 +511,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_physics-members.html b/docs/classraylib_1_1_physics-members.html
index 097cdb6..13a753c 100644
--- a/docs/classraylib_1_1_physics-members.html
+++ b/docs/classraylib_1_1_physics-members.html
@@ -100,7 +100,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_physics.html b/docs/classraylib_1_1_physics.html
index 8111991..9fbb13f 100644
--- a/docs/classraylib_1_1_physics.html
+++ b/docs/classraylib_1_1_physics.html
@@ -151,7 +151,7 @@ int
1.8.17
diff --git a/docs/classraylib_1_1_ray-members.html b/docs/classraylib_1_1_ray-members.html
index feed708..e464bff 100644
--- a/docs/classraylib_1_1_ray-members.html
+++ b/docs/classraylib_1_1_ray-members.html
@@ -92,7 +92,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_ray.html b/docs/classraylib_1_1_ray.html
index 34b07bb..df416e0 100644
--- a/docs/classraylib_1_1_ray.html
+++ b/docs/classraylib_1_1_ray.html
@@ -273,7 +273,7 @@ bool
1.8.17
diff --git a/docs/classraylib_1_1_ray_hit_info-members.html b/docs/classraylib_1_1_ray_hit_info-members.html
index 679af6e..ea659c2 100644
--- a/docs/classraylib_1_1_ray_hit_info-members.html
+++ b/docs/classraylib_1_1_ray_hit_info-members.html
@@ -92,7 +92,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_ray_hit_info.html b/docs/classraylib_1_1_ray_hit_info.html
index a791d73..bbe9bc2 100644
--- a/docs/classraylib_1_1_ray_hit_info.html
+++ b/docs/classraylib_1_1_ray_hit_info.html
@@ -402,7 +402,7 @@ Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_rectangle-members.html b/docs/classraylib_1_1_rectangle-members.html
index 0351f63..733cd11 100644
--- a/docs/classraylib_1_1_rectangle-members.html
+++ b/docs/classraylib_1_1_rectangle-members.html
@@ -115,7 +115,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_rectangle.html b/docs/classraylib_1_1_rectangle.html
index 5437f06..500c5c6 100644
--- a/docs/classraylib_1_1_rectangle.html
+++ b/docs/classraylib_1_1_rectangle.html
@@ -469,7 +469,7 @@ inline ::Vector4
1.8.17
diff --git a/docs/classraylib_1_1_render_texture-members.html b/docs/classraylib_1_1_render_texture-members.html
index 3492f27..49d3245 100644
--- a/docs/classraylib_1_1_render_texture-members.html
+++ b/docs/classraylib_1_1_render_texture-members.html
@@ -91,7 +91,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_render_texture.html b/docs/classraylib_1_1_render_texture.html
index a2dda6b..1624960 100644
--- a/docs/classraylib_1_1_render_texture.html
+++ b/docs/classraylib_1_1_render_texture.html
@@ -328,7 +328,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_shader-members.html b/docs/classraylib_1_1_shader-members.html
index 3bbd259..12f9dba 100644
--- a/docs/classraylib_1_1_shader-members.html
+++ b/docs/classraylib_1_1_shader-members.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_shader.html b/docs/classraylib_1_1_shader.html
index ec15cac..2b3e7c5 100644
--- a/docs/classraylib_1_1_shader.html
+++ b/docs/classraylib_1_1_shader.html
@@ -529,7 +529,7 @@ Static Public Member Functions
1.8.17
diff --git a/docs/classraylib_1_1_sound-members.html b/docs/classraylib_1_1_sound-members.html
index cb2d4de..fd97f54 100644
--- a/docs/classraylib_1_1_sound-members.html
+++ b/docs/classraylib_1_1_sound-members.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_sound.html b/docs/classraylib_1_1_sound.html
index 10df509..f021905 100644
--- a/docs/classraylib_1_1_sound.html
+++ b/docs/classraylib_1_1_sound.html
@@ -292,7 +292,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_texture-members.html b/docs/classraylib_1_1_texture-members.html
index 3cdbe2c..7d8a1d4 100644
--- a/docs/classraylib_1_1_texture-members.html
+++ b/docs/classraylib_1_1_texture-members.html
@@ -118,7 +118,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_texture.html b/docs/classraylib_1_1_texture.html
index 56e6a1c..c901bf9 100644
--- a/docs/classraylib_1_1_texture.html
+++ b/docs/classraylib_1_1_texture.html
@@ -604,7 +604,7 @@ static int
1.8.17
diff --git a/docs/classraylib_1_1_vector2-members.html b/docs/classraylib_1_1_vector2-members.html
index ca884f7..082fab8 100644
--- a/docs/classraylib_1_1_vector2-members.html
+++ b/docs/classraylib_1_1_vector2-members.html
@@ -133,7 +133,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_vector2.html b/docs/classraylib_1_1_vector2.html
index 0a970ca..4c89bcb 100644
--- a/docs/classraylib_1_1_vector2.html
+++ b/docs/classraylib_1_1_vector2.html
@@ -410,7 +410,7 @@ static Vector2
1.8.17
diff --git a/docs/classraylib_1_1_vector3-members.html b/docs/classraylib_1_1_vector3-members.html
index d2e61d9..9895cb9 100644
--- a/docs/classraylib_1_1_vector3-members.html
+++ b/docs/classraylib_1_1_vector3-members.html
@@ -142,7 +142,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_vector3.html b/docs/classraylib_1_1_vector3.html
index 51f6f09..40228b1 100644
--- a/docs/classraylib_1_1_vector3.html
+++ b/docs/classraylib_1_1_vector3.html
@@ -484,7 +484,7 @@ static Vector3 <
1.8.17
diff --git a/docs/classraylib_1_1_vector4-members.html b/docs/classraylib_1_1_vector4-members.html
index 19226c4..0f1dc9a 100644
--- a/docs/classraylib_1_1_vector4-members.html
+++ b/docs/classraylib_1_1_vector4-members.html
@@ -117,7 +117,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_vector4.html b/docs/classraylib_1_1_vector4.html
index 01bb26a..0847d6b 100644
--- a/docs/classraylib_1_1_vector4.html
+++ b/docs/classraylib_1_1_vector4.html
@@ -474,7 +474,7 @@ static Vector4 <
1.8.17
diff --git a/docs/classraylib_1_1_vr_stereo_config-members.html b/docs/classraylib_1_1_vr_stereo_config-members.html
index 7946eb6..cc8bcd3 100644
--- a/docs/classraylib_1_1_vr_stereo_config-members.html
+++ b/docs/classraylib_1_1_vr_stereo_config-members.html
@@ -83,7 +83,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_vr_stereo_config.html b/docs/classraylib_1_1_vr_stereo_config.html
index f43378d..1f95515 100644
--- a/docs/classraylib_1_1_vr_stereo_config.html
+++ b/docs/classraylib_1_1_vr_stereo_config.html
@@ -111,7 +111,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_wave-members.html b/docs/classraylib_1_1_wave-members.html
index af0a0d4..4d0a1a5 100644
--- a/docs/classraylib_1_1_wave-members.html
+++ b/docs/classraylib_1_1_wave-members.html
@@ -104,7 +104,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_wave.html b/docs/classraylib_1_1_wave.html
index 92c130d..d1cfab2 100644
--- a/docs/classraylib_1_1_wave.html
+++ b/docs/classraylib_1_1_wave.html
@@ -561,7 +561,7 @@ void
1.8.17
diff --git a/docs/classraylib_1_1_window-members.html b/docs/classraylib_1_1_window-members.html
index 8cd6b42..7df6d7d 100644
--- a/docs/classraylib_1_1_window-members.html
+++ b/docs/classraylib_1_1_window-members.html
@@ -119,7 +119,7 @@ $(function() {
1.8.17
diff --git a/docs/classraylib_1_1_window.html b/docs/classraylib_1_1_window.html
index 5e17b05..26cf974 100644
--- a/docs/classraylib_1_1_window.html
+++ b/docs/classraylib_1_1_window.html
@@ -259,7 +259,7 @@ static bool
1.8.17
diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html
index ad276ab..dd0b7df 100644
--- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -74,7 +74,7 @@ $(function() {
1.8.17
diff --git a/docs/functions.html b/docs/functions.html
index 54efa51..8be514b 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -94,7 +94,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_b.html b/docs/functions_b.html
index a4611ef..18ca437 100644
--- a/docs/functions_b.html
+++ b/docs/functions_b.html
@@ -86,7 +86,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_c.html b/docs/functions_c.html
index 9ef248f..08389b0 100644
--- a/docs/functions_c.html
+++ b/docs/functions_c.html
@@ -144,7 +144,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_d.html b/docs/functions_d.html
index 8fb1e11..2cf20c7 100644
--- a/docs/functions_d.html
+++ b/docs/functions_d.html
@@ -108,7 +108,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_e.html b/docs/functions_e.html
index ac568a1..d0cd342 100644
--- a/docs/functions_e.html
+++ b/docs/functions_e.html
@@ -88,7 +88,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_f.html b/docs/functions_f.html
index d7d55fa..8370d2a 100644
--- a/docs/functions_f.html
+++ b/docs/functions_f.html
@@ -89,7 +89,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func.html b/docs/functions_func.html
index 97aea85..68918c6 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -94,7 +94,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html
index 8728e5b..85550a7 100644
--- a/docs/functions_func_b.html
+++ b/docs/functions_func_b.html
@@ -86,7 +86,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html
index 860fa38..b4443d1 100644
--- a/docs/functions_func_c.html
+++ b/docs/functions_func_c.html
@@ -144,7 +144,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html
index 2da1e42..e6bf318 100644
--- a/docs/functions_func_d.html
+++ b/docs/functions_func_d.html
@@ -108,7 +108,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html
index 16991b9..a340a02 100644
--- a/docs/functions_func_e.html
+++ b/docs/functions_func_e.html
@@ -88,7 +88,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html
index fd7675a..3986196 100644
--- a/docs/functions_func_f.html
+++ b/docs/functions_func_f.html
@@ -89,7 +89,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html
index 80f7ccd..b88781c 100644
--- a/docs/functions_func_g.html
+++ b/docs/functions_func_g.html
@@ -465,7 +465,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html
index 9a709a6..ce1a983 100644
--- a/docs/functions_func_h.html
+++ b/docs/functions_func_h.html
@@ -76,7 +76,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html
index 1a35653..7242c08 100644
--- a/docs/functions_func_i.html
+++ b/docs/functions_func_i.html
@@ -140,7 +140,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html
index b6d8c1d..3706602 100644
--- a/docs/functions_func_k.html
+++ b/docs/functions_func_k.html
@@ -73,7 +73,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html
index 03be33c..e1b46a3 100644
--- a/docs/functions_func_l.html
+++ b/docs/functions_func_l.html
@@ -119,7 +119,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html
index 0fb18c5..c331ce2 100644
--- a/docs/functions_func_m.html
+++ b/docs/functions_func_m.html
@@ -91,7 +91,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html
index c86d19c..750de6d 100644
--- a/docs/functions_func_n.html
+++ b/docs/functions_func_n.html
@@ -74,7 +74,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html
index 957bf5c..5295a7e 100644
--- a/docs/functions_func_o.html
+++ b/docs/functions_func_o.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html
index dd17341..62b2458 100644
--- a/docs/functions_func_p.html
+++ b/docs/functions_func_p.html
@@ -92,7 +92,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html
index e11e271..6cf6335 100644
--- a/docs/functions_func_r.html
+++ b/docs/functions_func_r.html
@@ -102,7 +102,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html
index 6d72937..a83f0fd 100644
--- a/docs/functions_func_s.html
+++ b/docs/functions_func_s.html
@@ -449,7 +449,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html
index cbd371a..d08c922 100644
--- a/docs/functions_func_t.html
+++ b/docs/functions_func_t.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html
index e2a460d..c2ea493 100644
--- a/docs/functions_func_u.html
+++ b/docs/functions_func_u.html
@@ -114,7 +114,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html
index 20ec107..48d12cf 100644
--- a/docs/functions_func_w.html
+++ b/docs/functions_func_w.html
@@ -79,7 +79,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_z.html b/docs/functions_func_z.html
index 7bbc0f8..79da102 100644
--- a/docs/functions_func_z.html
+++ b/docs/functions_func_z.html
@@ -73,7 +73,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html
index 9e55214..8c3624a 100644
--- a/docs/functions_func_~.html
+++ b/docs/functions_func_~.html
@@ -85,7 +85,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_g.html b/docs/functions_g.html
index 8ba32c4..5492161 100644
--- a/docs/functions_g.html
+++ b/docs/functions_g.html
@@ -465,7 +465,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_h.html b/docs/functions_h.html
index 72c0609..662239d 100644
--- a/docs/functions_h.html
+++ b/docs/functions_h.html
@@ -76,7 +76,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_i.html b/docs/functions_i.html
index 4e8bee7..f9882bf 100644
--- a/docs/functions_i.html
+++ b/docs/functions_i.html
@@ -140,7 +140,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_k.html b/docs/functions_k.html
index f9806cc..9590106 100644
--- a/docs/functions_k.html
+++ b/docs/functions_k.html
@@ -73,7 +73,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_l.html b/docs/functions_l.html
index 8025909..d35aba0 100644
--- a/docs/functions_l.html
+++ b/docs/functions_l.html
@@ -119,7 +119,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_m.html b/docs/functions_m.html
index 2b19adb..113241f 100644
--- a/docs/functions_m.html
+++ b/docs/functions_m.html
@@ -91,7 +91,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_n.html b/docs/functions_n.html
index 7337c9e..1e8a0e1 100644
--- a/docs/functions_n.html
+++ b/docs/functions_n.html
@@ -74,7 +74,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_o.html b/docs/functions_o.html
index 809ad7e..70b31ff 100644
--- a/docs/functions_o.html
+++ b/docs/functions_o.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_p.html b/docs/functions_p.html
index ad6f001..6c38036 100644
--- a/docs/functions_p.html
+++ b/docs/functions_p.html
@@ -92,7 +92,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_r.html b/docs/functions_r.html
index b23d42f..4244767 100644
--- a/docs/functions_r.html
+++ b/docs/functions_r.html
@@ -102,7 +102,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_s.html b/docs/functions_s.html
index e66f453..794b4d0 100644
--- a/docs/functions_s.html
+++ b/docs/functions_s.html
@@ -449,7 +449,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_t.html b/docs/functions_t.html
index c0d09a3..c4c870d 100644
--- a/docs/functions_t.html
+++ b/docs/functions_t.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_u.html b/docs/functions_u.html
index 610ac8e..34928dd 100644
--- a/docs/functions_u.html
+++ b/docs/functions_u.html
@@ -114,7 +114,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_w.html b/docs/functions_w.html
index 0bf2d09..c08676b 100644
--- a/docs/functions_w.html
+++ b/docs/functions_w.html
@@ -79,7 +79,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_z.html b/docs/functions_z.html
index 8436082..3d90b67 100644
--- a/docs/functions_z.html
+++ b/docs/functions_z.html
@@ -73,7 +73,7 @@ $(function() {
1.8.17
diff --git a/docs/functions_~.html b/docs/functions_~.html
index d2bd887..a6c2084 100644
--- a/docs/functions_~.html
+++ b/docs/functions_~.html
@@ -85,7 +85,7 @@ $(function() {
1.8.17
diff --git a/docs/index.html b/docs/index.html
index 0cd77c6..256370b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -97,7 +97,7 @@ $(function() {
1.8.17
diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html
index 3a73c2a..0fa47ed 100644
--- a/docs/namespacemembers.html
+++ b/docs/namespacemembers.html
@@ -216,7 +216,7 @@ $(function() {
1.8.17
diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html
index 5b51b7b..ea6b0c0 100644
--- a/docs/namespacemembers_func.html
+++ b/docs/namespacemembers_func.html
@@ -216,7 +216,7 @@ $(function() {
1.8.17
diff --git a/docs/namespaceraylib.html b/docs/namespaceraylib.html
index 569d955..0269935 100644
--- a/docs/namespaceraylib.html
+++ b/docs/namespaceraylib.html
@@ -330,7 +330,7 @@ static void
1.8.17
diff --git a/docs/namespaces.html b/docs/namespaces.html
index 9915584..fafe444 100644
--- a/docs/namespaces.html
+++ b/docs/namespaces.html
@@ -75,7 +75,7 @@ $(function() {
1.8.17
diff --git a/docs/physac_8hpp_source.html b/docs/physac_8hpp_source.html
index e1eb6a6..5a58d16 100644
--- a/docs/physac_8hpp_source.html
+++ b/docs/physac_8hpp_source.html
@@ -87,7 +87,7 @@ $(function() {
1.8.17
diff --git a/docs/raylib-cpp-utils_8hpp_source.html b/docs/raylib-cpp-utils_8hpp_source.html
index dd12d56..5fd30d0 100644
--- a/docs/raylib-cpp-utils_8hpp_source.html
+++ b/docs/raylib-cpp-utils_8hpp_source.html
@@ -88,7 +88,7 @@ $(function() {
1.8.17
diff --git a/docs/raylib-cpp_8hpp_source.html b/docs/raylib-cpp_8hpp_source.html
index 2e96948..0fa12d2 100644
--- a/docs/raylib-cpp_8hpp_source.html
+++ b/docs/raylib-cpp_8hpp_source.html
@@ -116,7 +116,7 @@ $(function() {
1.8.17
diff --git a/docs/raylib_8hpp_source.html b/docs/raylib_8hpp_source.html
index 0312dea..c38c510 100644
--- a/docs/raylib_8hpp_source.html
+++ b/docs/raylib_8hpp_source.html
@@ -87,7 +87,7 @@ $(function() {
1.8.17
diff --git a/docs/raymath_8hpp_source.html b/docs/raymath_8hpp_source.html
index 6849130..634897b 100644
--- a/docs/raymath_8hpp_source.html
+++ b/docs/raymath_8hpp_source.html
@@ -89,7 +89,7 @@ $(function() {
1.8.17
diff --git a/examples/core/core_basic_window.cpp b/examples/core/core_basic_window.cpp
index d95affc..6fd81c5 100644
--- a/examples/core/core_basic_window.cpp
+++ b/examples/core/core_basic_window.cpp
@@ -26,7 +26,7 @@ int main() {
//--------------------------------------------------------------------------------------
int screenWidth = 800;
int screenHeight = 450;
- raylib::Color textColor(LIGHTGRAY);
+ raylib::Color textColor = raylib::Color::LightGray();
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
SetTargetFPS(60);
diff --git a/examples/core/core_input_mouse.cpp b/examples/core/core_input_mouse.cpp
index 96a78ce..833f621 100644
--- a/examples/core/core_input_mouse.cpp
+++ b/examples/core/core_input_mouse.cpp
@@ -20,8 +20,8 @@ int main() {
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - mouse input");
raylib::Vector2 ballPosition(-100.0f, -100.0f);
- raylib::Color ballColor(DARKBLUE);
- raylib::Color textColor(DARKGRAY);
+ raylib::Color ballColor = raylib::Color::DarkBlue();
+ raylib::Color textColor = raylib::Color::DarkGray();
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//---------------------------------------------------------------------------------------
diff --git a/examples/shapes/shapes_logo_raylib.cpp b/examples/shapes/shapes_logo_raylib.cpp
index 3702a89..134f228 100644
--- a/examples/shapes/shapes_logo_raylib.cpp
+++ b/examples/shapes/shapes_logo_raylib.cpp
@@ -18,7 +18,7 @@ int main() {
const int screenHeight = 450;
raylib::Window window(screenWidth, screenHeight, "raylib [shapes] example - raylib logo using shapes");
- raylib::Color foreground = raylib::Color(0, 68, 130);
+ raylib::Color foreground(0, 68, 130);
raylib::Color background = RAYWHITE;
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
diff --git a/examples/text/text_raylib_fonts.cpp b/examples/text/text_raylib_fonts.cpp
index b8decef..bf0e066 100644
--- a/examples/text/text_raylib_fonts.cpp
+++ b/examples/text/text_raylib_fonts.cpp
@@ -26,7 +26,7 @@ int main() {
int screenHeight = 450;
raylib::Window window(screenWidth, screenHeight, "raylib [text] example - raylib fonts");
- raylib::Color textColor(DARKGRAY);
+ raylib::Color textColor = DARKGRAY;
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
std::array