Fancy2209
26e12d6b35
Fix Typo in rcore_desktop_sdl.c ( #4621 )
2024-12-20 13:53:51 +01:00
Ray
ab83e6dd41
Image manipulation functions depend on a flag
2024-12-19 13:24:30 +01:00
Ray
03ff864087
Formating tweaks
2024-12-18 18:44:23 +01:00
Asdqwe
99cb4cbc36
Fix SetGamepadVibration() TRACELOG message ( #4615 )
2024-12-18 14:53:50 +01:00
Ray
783ca612cc
Update Makefile
2024-12-18 12:51:00 +01:00
Colleague Riley
58004723d8
[rcore][RGFW] Add new backend option: PLATFORM_WEB_RGFW
and update RGFW ( #4480 )
...
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
2024-12-18 12:03:42 +01:00
Ray
de6c09ee7a
WARNING: REVIEWED: Use libraylib.web.a
naming on PLATFORM_WEB
...
This change allows to have in same directory (currently `raylib/src`) two raylib build versions: Desktop and Web
2024-12-18 11:45:55 +01:00
Ray
f76734fc50
REVIEWED: UpdateModelAnimationBones()
, break on first mesh found and formating
2024-12-18 11:43:43 +01:00
Kirandeep-Singh-Khehra
35c2408413
[rmodels] Optimized UpdateModelAnimationBones()
function ( #4602 )
...
- Updating bones only once instead for each mesh.
- Updating only one `model.meshes[].boneMatrices` and then using deep copy for other meshes instead of calculating for each bone in each mesh.
**Other points:**
- Makes it a clean base/template/reference for bone updation functions. Because if using this as template then some calculations done in one mesh can affect bones in other mesh in next iteration(doubles the effect in for next mesh).
Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com >
2024-12-18 11:39:50 +01:00
Asdqwe
cdaff163cb
Fix show, hide, focus and unfocus window/flags states for SDL2 ( #4610 )
2024-12-18 11:39:30 +01:00
JupiterRider
714cd5ef5c
add SetGamepadVibration to rgfw and template ( #4612 )
2024-12-18 11:38:11 +01:00
Asdqwe
bdfbd6e8cc
Fix maximizing, minimizing and restoring windows for SDL2 ( #4607 )
2024-12-16 22:19:00 +01:00
Le Juez Victor
79facde353
fix rlActiveDrawBuffers
for OpenGL ES 3 ( #4605 )
2024-12-16 00:51:42 +01:00
Per Hallsmark
d0504800d2
install rcamera.h ( #4603 )
...
Signed-off-by: Per Hallsmark <per.hallsmark@bitjuggler.se >
2024-12-15 11:16:08 +01:00
__hexmaster111
8a5a95c13a
Removed inaccurate comment about negitves not being supported with TextToFloat And TextToInt Methods ( #4596 )
2024-12-13 09:21:13 +01:00
Ray
1f704be4e4
Review comments spacing for better alignment
2024-12-12 12:13:38 +01:00
Ray
6b220f2798
Review formating
2024-12-12 12:13:17 +01:00
Rico P
2a2acff2d5
Make sure ShaderUniformDataType matches rlShaderUniformDataType ( #4577 )
...
* Make sure ShaderUniformDataType matches rlShaderUniformDataType
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ray <raysan5@gmail.com >
2024-12-08 12:52:06 +01:00
Michael
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
2024-12-08 12:48:54 +01:00
Ray
602583bcdb
Merge branch 'master' of https://github.com/raysan5/raylib
2024-12-03 19:14:29 +01:00
Ray
1f45e7af76
REVIEWED: Coding conventions
2024-12-03 19:14:14 +01:00
Caleb Heydon
5feccb1bab
[rmodels] Fixed null pointer dereference in LoadGLTF ( #4564 )
...
* [rmodels] Fixed null pointer dereference in LoadGLTF
* [rmodels] Add parenthesis around conditionals in LoadGLTF
2024-12-03 18:35:24 +01:00
Caleb Heydon
f3f5f38c0f
[rmodels] Fix crash when NULL is passed to LoadImageFromCgltfImage ( #4563 )
2024-12-02 13:35:54 +01:00
Ray
b50d418ec7
Merge branch 'master' of https://github.com/raysan5/raylib
2024-12-01 23:25:27 +01:00
Ray
dd26df0be8
REVIEWED: Parser issue with comment #4558
2024-12-01 23:25:12 +01:00
Rico P
ff71e3a513
use unused variable. Fixes #4560 ( #4561 )
2024-12-01 23:22:46 +01:00
Ray
962f1c26ff
Review formatting to follow raylib conventions
2024-12-01 23:10:59 +01:00
Caleb Heydon
9047630ae7
[rmodels] Fix null pointer dereference in LoadImageFromCgltfImage ( #4557 )
2024-12-01 22:46:26 +01:00
Ray
503cd7ba34
Update raymath.h
2024-12-01 22:45:09 +01:00
Jonathan Akaba
1b4e73cf2f
Update documentation for Vector2Angle ( #4556 )
2024-12-01 22:43:32 +01:00
Caleb Heydon
58fe34d9cc
[raudio] Fixed buffer overflow when loading WAV files ( #4539 )
2024-11-28 22:58:35 +01:00
Mossieur-Patate
2c4c6e6201
GetKeyName prototype ( #4544 )
...
* Update raylib.h: GeyKeyName prototype
Prototype for GetKeyName, which is already implemented elsewhere.
* Update raylib_to_parse.h: GetKeyName prototype
2024-11-28 22:50:00 +01:00
Ray
abb3c8e9f7
Revert "[build][cmake] Improve cmake config file generation ( #4541 )"
...
This reverts commit c53dd8a931
.
2024-11-28 22:44:42 +01:00
Leonardo Guilherme de Freitas
c53dd8a931
[build][cmake] Improve cmake config file generation ( #4541 )
...
* Improve cmake config file generation
This allows for finding raylib on a non-standard location (eg, not in /usr/lib{,64})
* Only have glfw as private if using internal glfw and not static
2024-11-27 11:39:36 +01:00
Anthony Carbajal
79188f570b
fixed spacing in sha1 comment ( #4540 )
2024-11-25 20:17:22 +01:00
Jeffery Myers
6141489b00
Fixes casting warnings with RGFW platform. ( #4534 )
2024-11-24 16:25:36 +01:00
listeria
e494c545b8
raymath: fix C++ operator overloads ( #4535 )
...
Co-authored-by: Listeria monocytogenes <listeria@disroot.org >
2024-11-24 16:24:34 +01:00
Ray
da6fa1d756
Fix #4529
2024-11-22 11:06:34 +01:00
Ray
50a2afff9e
Update raylib version to 5.6-dev to avoid confusions with release
2024-11-22 11:01:10 +01:00
Asdqwe
a53a8958f2
Add implementation to GetWindowScaleDPI() for PLATFORM_WEB ( #4526 )
2024-11-22 10:52:55 +01:00
veins1
11429b48eb
Fix for #4521 ( #4523 )
2024-11-20 21:28:46 +01:00
Gael Pérez
415a98965a
update raymath.h: add Vector2CrossProduct function ( #4520 )
2024-11-20 11:27:14 +01:00
Ray
26548c1062
Remove trail-spaces
2024-11-19 12:33:13 +01:00
Ray
9e4f513a43
Reviewed formating
2024-11-19 12:31:57 +01:00
Ray
c78757a959
REVIEWED: GetClipboardImage()
, make symbol available on all platforms
2024-11-19 12:31:49 +01:00
Ray
10789a4d49
Update rlgl.h
2024-11-19 12:31:14 +01:00
mikeemm
95e766472f
[rmodels] Improve OBJ vertex data precision and lower memory usage by ExportMesh() ( #4496 )
...
* increased vertex data precision to match blender exports
* modified memory allocation to better fit higher precision data
* now accounting for newline characters during allocation
* now accounting for potentially higher vertex counts
* removed unnecessary final newline
2024-11-19 10:35:47 +01:00
Ray
938b805bfb
Update raylib.h
2024-11-16 18:45:16 +01:00
Eike Decker
7c5d74e98e
Fixing an OBJ loader bug that fragmented the loaded meshes ( #4494 )
...
The nextShapeEnd integer is a pointer in the OBJ data structures.
The faceVertIndex is a vertex index counter for the mesh we are
about to create. Both integers are not compatible, which causes
the code to finish the meshes too early, thus writing the OBJ data
incompletely into the target meshes.
It wasn't noticed because for the last mesh, it process all remaining
data, causing the last mesh to contain all remaining triangles.
This would have been noticed if the OBJ meshes used different textures
for each mesh.
2024-11-15 16:40:14 +01:00
Ray
5e6cdf3a73
Update emsdk path on Windows to match new raylib installer package
2024-11-14 18:41:37 +01:00