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
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
Rob Loach
948a2de388
Merge branch 'master' of github.com:RobLoach/raylib-cpp into next
2024-10-16 11:17:03 -04:00
Rob Loach
8ab70ae76a
Merge pull request #334 from realstealthninja/patch-1
...
docs: Camera2D mentions GetWorldToScreen() converts coordinates to 3d
2024-10-16 11:15:41 -04:00
realstealthninja
8da0fb06c9
docs: change 3d to 2d
2024-10-16 20:13:44 +05:30
Maneren
9a579b1489
Add missing const
2024-10-15 01:06:42 +02:00
Rob Loach
a63ee3f76a
Merge branch 'master' of github.com:RobLoach/raylib-cpp into next
2024-08-31 13:24:24 -04:00
furudbat
9f474c0b17
Formatting
2024-08-31 17:04:54 +02:00
furudbat
f1ed8cd11e
Add .clang-format
2024-08-31 17:02:44 +02:00
furudbat
514bf04541
Add ShaderUnmanaged
2024-07-09 15:13:13 +02:00
kyomawolf
1883df07a2
Fixed wrong returnvalue of GetKey- and GetChar-pressed functions
2024-07-07 20:22:30 +02:00
Rob Loach
1ef7ddbba1
v5.0.2
2024-06-27 15:58:44 -04:00
Arcod7
7307816124
Add copy name in ModelAnimation
2024-06-19 14:43:49 +02:00
Rob Loach
6a5286c1bc
Merge pull request #320 from RobLoach/drawroundedlines
...
Fix compatibility with DrawRectangleRoundedLines
2024-05-28 14:51:27 -04:00
Rob Loach
8c4322570c
Merge branch 'drawroundedlines' of github.com:RobLoach/raylib-cpp into next
2024-05-28 14:51:08 -04:00
Rob Loach
0b727bd819
Merge branch 'master' of github.com:RobLoach/raylib-cpp into next
2024-05-28 14:48:34 -04:00
Rob Loach
a9e949333f
Fix cpplint notices ( #321 )
2024-05-28 14:47:39 -04:00
Rob Loach
dd3b8e34d5
Clean up DrawRectangleRoundedLines
2024-05-28 11:49:47 -04:00
Rob Loach
8f1689d1a3
Update AutomationEventList usage
2024-05-28 11:03:05 -04:00
Rob Loach
2b76a33413
Update raylib in the branch
2024-05-04 15:41:01 -04:00
Le Juez Victor
70139aed3f
added overload for DrawRoundedLines
...
This also fixes a compile-time error as the signature of `DrawRectangleRoundedLines()` had changed.
2024-05-04 15:50:51 +02:00
Rob Loach
c8a910ef2e
Add missing includes to CMake install
...
Fixes #311
2024-04-05 15:46:58 -04:00
wer8888
80129677ee
Add project & reject methods to Vector3
2024-03-30 00:58:35 -04:00
wer8888
775616b6ed
Add length squared method to Vector3
2024-03-19 18:13:26 -04:00
Rob Loach
c589702ed0
Merge pull request #306 from RobLoach/model-mesh-constructor-delete
...
Have the Model(mesh) constructor deleted
2024-03-18 09:33:35 -04:00
Alexander Bolinsky
7eb0e83452
Fix Documentation for Vector2 operator-=
2024-03-18 15:42:10 +09:00
Rob Loach
6cf4d00157
Update some Get/Set methods
2024-03-10 00:10:20 -05:00
Rob Loach
473b922da1
Have the Model(mesh) constructor deleted
2024-03-09 18:08:14 -05:00
furudbat
e35ca6d7ec
Add MeshUnmanaged ( #299 )
2024-03-08 22:58:19 +01:00
Rob Loach
e289c0e86b
Merge pull request #301 from furudbat/fix/typedef-using
...
Replace typedef with using
2024-03-02 11:38:21 -05:00
furudbat
9d85a04b5d
Replace typedef with using
2024-03-02 12:10:45 +01:00
furudbat
cc8b01a8d4
Add FileData and FileText
2024-03-02 01:29:19 +01:00
furudbat
6fef83688f
Remove new in throw
2024-03-01 17:01:45 +01:00
Rob Loach
286904424f
Merge pull request #296 from RobLoach/audiostream-unload-fixes
...
AudioStream: Only Unload() if it's ready
2024-02-27 15:09:54 -05:00
Rob Loach
39f8d34050
Merge pull request #297 from RobLoach/namespacing
...
Use namespaces for Keyboard/Mouse/Touch
2024-02-27 15:09:41 -05:00
Rob Loach
73ca3f7e53
Update keyboard/mouse/touch to use maybe_unused
2024-02-26 16:26:54 -05:00
Rob Loach
2892464739
AudioStream: Only Unload() if it's ready
2024-02-26 16:15:39 -05:00
Rob Loach
f790a20d5a
Merge pull request #295 from RobLoach/strings
...
Overload some of the std::string to const char* functions
2024-02-26 16:11:21 -05:00
Rob Loach
61a3cee8b2
Overload some of the std::string to const char* functions
2024-02-24 00:47:48 -05:00
Rob Loach
6240d83101
Workflow fixes from mips64-el
2024-02-24 00:27:07 -05:00
kyomawolf
aee606b934
changed class to namespace
2024-02-17 15:18:04 +01:00
kyomawolf
dd16f39cca
fixed compiler warnings
2024-02-16 20:15:38 +01:00
Rob Loach
09e4a13757
Fix AudioStream calls
2024-02-12 00:51:24 -05:00
Rob Loach
71211177b4
Replace RLAPI with RLCPPAPI macros
2024-02-10 23:18:32 -05:00
Rob Loach
717a614489
Fix AutomationEventList for raylib >= 5.1
2024-02-10 02:11:28 -05:00
kyomawolf
4a597220e6
added Keyboard to cmake install
2024-02-07 22:13:18 +01:00
Rob Loach
5674302b9f
Add Keyboard test ( #276 )
2024-02-07 12:47:04 -05:00