645 Commits

Author SHA1 Message Date
Rob Loach
21b0d0f57a Merge pull request #373 from und3f/add-vec-add-sub-float-operations
Add vector add/sub float operations
2025-11-12 08:24:41 -05:00
Serhii Zasenko
d82a8553a3 Add vector add/sub float operations
- Vector2 add/sub float operations
- Vector3 add/sub float operations
2025-11-12 10:26:11 +02:00
Rob Loach
3f029784f8 Merge pull request #372 from und3f/add-effc++-test-flag
Add test compile warning flag effc++ and fix findings
2025-10-24 07:55:31 -04:00
Serhii Zasenko
4a4f296ce8 Add test compile warning flag effc++ and fix findings 2025-10-24 13:48:30 +03:00
Rob Loach
a8d750ef2a Merge pull request #371 from und3f/fix-oldstyle-const-cast-warning
Fix use of old-style cast
2025-10-21 10:13:19 -04:00
Serhii Zasenko
e483d5820e Fix use of old-style cast 2025-10-21 14:28:25 +03:00
Rob Loach
95cc747c3e Merge pull request #369 from mikomikotaishi/patch-1
Update modules examples to use using statements
2025-08-20 11:34:58 -04:00
Miko
61eb563a48 Update modules examples to use using statements 2025-08-20 14:49:18 +00:00
Rob Loach
8e01c1dd8f Merge pull request #363 from mikomikotaishi/master
Add Colors namespace and missing enums
2025-06-10 14:03:33 -04:00
Miko
42bff08396 Should include a directory above 2025-06-10 05:05:35 +00:00
Miko
1502bdf128 Add missing enum types 2025-06-10 02:09:38 +00:00
Miko
c9fc383cbf Merge pull request #1 from mikomikotaishi/patch-1
Add Colors namespace that re-exports macros as constexpr
2025-06-07 21:06:22 -04:00
Miko
fb42454103 Add Colors namespace that re-exports macros as constexpr 2025-06-08 01:05:36 +00:00
Rob Loach
be2efd42f6 Merge pull request #360 from mikomikotaishi/master
Add support for C++20 modules
2025-06-02 14:12:45 -06:00
Miko
c094f76cd2 Merge branch 'RobLoach:master' into master 2025-06-02 14:47:37 -04:00
Rob Loach
6bd8b09c19 Merge pull request #362 from lukasx999/master
added more cursor functions to window class
2025-06-02 09:48:18 -06:00
lukasx999
9ea795df58 added more cursor functions to window class 2025-06-02 17:05:43 +02:00
Rob Loach
6865344e94 Merge pull request #361 from lukasx999/master
added loglevel to window constructor
2025-06-01 19:59:52 -06:00
lukasx999
f1d55148c9 added loglevel to window constructor 2025-06-02 01:14:33 +02:00
Toyosatomimi no Miko
e64f5f6347 Add support for C++20 modules 2025-05-29 12:46:43 -04:00
Rob Loach
7305724f53 Merge pull request #358 from mropert/bugfix/default_construct
Fix vector3d default init and add tests
2025-04-14 11:19:53 -04:00
Mathieu Ropert
075d6103e9 Fix vector3d default init and add tests 2025-04-14 15:04:09 +02:00
Rob Loach
59478e4cfc Merge pull request #357 from RobLoach/drawing
Add window::Drawing()
2025-03-20 22:40:30 -04:00
Rob Loach
db8c70bf3a Update Drawing() documentation 2025-03-20 13:44:31 -04:00
Rob Loach
9bb0d6ffec draawing: flip the statement 2025-03-19 14:12:42 -04:00
Rob Loach
7a3d330674 Add window::Drawing() 2025-03-19 14:10:37 -04:00
Rob Loach
bdf273a226 Merge pull request #353 from Bigfoot71/master
Refine default `Camera3D` parameters
2025-03-15 15:48:17 -04:00
Le Juez Victor
7435a205b2 update default Camera3D construction parameters 2025-03-15 20:22:45 +01:00
Rob Loach
84f97bcd67 Merge pull request #352 from Bigfoot71/master
add `Window::GetMonitor()` method
2025-03-13 13:59:27 -04:00
Le Juez Victor
93e7885bc4 add Window::GetMonitor() method 2025-03-13 18:53:02 +01:00
Rob Loach
7d41ebe7a2 Merge pull request #350 from humz2k/master
Change const char** to const char* const* in TextSplit
2025-03-01 14:06:56 -05:00
Humza Qureshi
536e7d01df change const char** to const char* const* in TextSplit
::TextSplit returns a char** now, so you can't cast to a const char** implicitly. By specifying const char* const*, we allow implicit conversions from both char** and const char**. The strings are copied into the vector anyway, so adding the extra const specifier changes nothing.
2025-02-05 15:01:55 -05:00
StillGreen-san
e54015953e reset bytesRead in FileData::Unload 2025-02-03 10:29:23 -05:00
StillGreen-san
0186631967 fix memory leak in FileData::Load 2025-02-03 10:29:23 -05:00
Rob Loach
872556df94 Fix some example C++ Warnings 2024-12-18 02:41:49 -05:00
Rob Loach
6e4a8525d4 Merge pull request #341 from Bigfoot71/master
Security and clarity improvements
2024-12-16 00:02:38 -05:00
Bigfoot71
2a1738e3ad update TextureUnmanaged
Added nodiscard, I forgot this file
2024-12-15 22:45:46 +01:00
Bigfoot71
7a8a6ebeef fix warnings 2024-12-15 22:39:31 +01:00
Bigfoot71
d9b3334854 remove unnecessary inclusiosn 2024-12-15 22:35:01 +01:00
Bigfoot71
1917faf378 adding noexcept to move constructors 2024-12-15 22:22:34 +01:00
Bigfoot71
cffed168a1 tweaks 2024-12-15 22:19:33 +01:00
Rob Loach
c283b731b0 Have Texture::GetSize() return a raylib::Vector2 2024-12-07 22:42:40 -05:00
Rob Loach
cc3e2e0ee6 Fix Mesh default properties 2024-12-07 22:39:44 -05:00
Rob Loach
16605e9dd0 Merge pull request #340 from GaniAliguzhinov/fix-mesh-unmanaged
Adding boneMatrices to MeshUnmanaged to fix double free
2024-12-07 22:37:26 -05:00
Gani Aliguzhinov
b0123116be Adding boneMatrices to MeshUnmanaged to fix double free
I noticed a bug when trying out the models_first_person_maze
example, that sometimes a double free occurs on UnloadMesh
when destructor of MeshUnmanaged is called. The offending line
is Line 1935 from rmodels.c from raylib, where
RL_FREE(mesh.boneMatrices) is called. To remedy this, I added
a default assignment of nullptr to boneMatrices and explicit
assignment throught the set method.
2024-12-08 03:24:16 +01:00
Rob Loach
6d9d02cd24 Merge pull request #316 from RobLoach/next
Update to raylib 5.5
2024-11-18 18:25:31 -05:00
Rob Loach
96aaff597a Update to raylib 5.5 2024-11-18 18:22:55 -05:00
Rob Loach
3a6e7bbdd3 Remove duplicate operator statements (#338)
* Remove duplicate operator statements

* Make raylib not introduce the operators
2024-11-14 13:33:56 -05:00
Rob Loach
7b9fd03cac Merge branch 'master' of github.com:RobLoach/raylib-cpp into next 2024-10-16 11:22:39 -04:00
Rob Loach
7581b1d50e Revert "Add missing const"
This reverts commit 9a579b1489.
2024-10-16 11:21:22 -04:00