summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2024-06-22[rmodels] Initial work to correctly handle the node hierarchy in a glTF file ↵Paul Melis
(#4037) * Initial work to correctly handle the node hierarchy in a glTF file. Static meshes seem to work fine in my tests. Haven't tried anything animated yet, but it's almost certainly broken. * Fix variable naming, some comment tweaks * Only count primitives made up of triangles in glTF meshes * Update processing of gltf mesh animation data, to match earlier changes to vertex/normal/tangent data
2024-06-22[build] CMake: pass -sFULL_ES3 instead of -sFULL_ES3=1 (#4090)manuel5975p
* Allow ES3 in LibraryConfigurations.cmake * Put FULL_ES3 as linker option * Remove =1
2024-06-22fixed LoadCodepoints returning a freed ptr when count is 0 (#4089)Alice Nyaa
2024-06-22add warning log multiple of 4 (#4080)Anthony Carbajal
2024-06-21[build] CMake: support OpenGL ES3 in `LibraryConfigurations.cmake` (#4079)manuel5975p
* Allow ES3 in LibraryConfigurations.cmake * Put FULL_ES3 as linker option
2024-06-17fixed issue with GetScreenWidth/GetScreenHeight (#4074)Anthony Carbajal
2024-06-16[rmodels] Read uninitialized values in GenMeshTangents() - fix bounding case ↵kai-z99
(#4066) * fix * assert
2024-06-16[build] Fix some warnings on web builds and remove some redundant flags. (#4069)Lázaro Albuquerque
* update * Revert "update" This reverts commit e8adcabd94830be66938e12143c8fe23cdeab605. * update * remove a not stricly required flag
2024-06-16REVIEWED: Spline cubic bezier exampleRay
2024-06-16Update raylib.hRay
2024-06-16[rshapes] Fix multisegment Bezier splines. (#3744)Santiago Pelufo
* [rshapes] Fix multisegment Bezier splines. It seems to me that these functions are wrong, if you step the index by 1 you move to a control point instead of the next segment. * Fix example shapes/shapes_splines_drawing for bezier splines. * Draw circles to fill gaps between bezier segments.
2024-06-16[build.zig] Fix raygui build when using addRaygui externally (#4027)Viktor Pocedulić
When addRaygui is used from an external build, for example in a bindings project, the build of a generated `raygui.c` fails with "raylib.h not found" error from the compiler. I've traced this down to a raylib step not adding its `src/` to the shared list of include paths using `addIncludePath` but relying on `addCSourceFiles` `.root` to provide the implicit include path for raylib proper's own files. If raygui is later added to the step the compiler won't know where to look for `raylib.h` and friends and will fail to build. This change simply adds raylib's `src/` to the include path list.
2024-06-14optimize (#4065)kai-z99
2024-06-13[raudio] fix mapping of wave data in LoadWaveSamples() (#4062)listeria
Co-authored-by: Listeria monocytogenes <[email protected]>
2024-06-12Update rlgl.h (#4059)TokyoSU
- The function rlGetMatrixProjectionStereo and rlGetMatrixViewOffsetStereo have RLAPI for the function declaration and cause error when compiling using RLGL_IMPLEMENTATION.
2024-06-12[raudio] Add 24 bits samples support for FLAC format (#4058)Alexey Kutepov
Similarly to how it's done for WAV format, by forcing the conversion to s16 on UpdateMusicStream().
2024-06-11[SHAPES] Make functions that draw point arrays take them as const (#4051)Jeffery Myers
* Update raylib_api.* by CI * make functions that take a pointer to an array take them as const pointers * Update raylib_api.* by CI * fix comment alignment. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-11LoadBoneInfoGLTF add check for animation name being NULL (#4053)VitoTringolo
Co-authored-by: Vito Tringolo <[email protected]>
2024-06-10Update Makefile (#4054)Lázaro Albuquerque
Since the flag CUSTOM_CFLAGS should allow users customize things, in particular the optimization level, I figured it should come after other default ones. Based on: "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective." Source: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
2024-06-09Make addRaylib use options.opengl_version (#4049)carverdamien
2024-06-09tweaksRay
2024-06-09REVIEWED: Animation name being NULL #4037Ray
2024-06-08Update RGFW (#4048)Colleague Riley
* Fix Makefile issues (RGFW) (linux) (macOS) * Do not use nanosleep on windows at all (PLATFORM_DESKTOP_RGFW) * remove #define RGFWDEF and make the #undefs only happen for their OS * Update RGFW.h * fix to match the RGFW updates * remove line that shows the cursor for no reason
2024-06-06[rlgl] Rename near, far variables (#4039)jgabaut
2024-06-06RENAME: near, far vaiablesRay
2024-06-04Update rcore_desktop.cRay
2024-06-04Fix #4024, cylinder drawing was incorrect due to imprecise angle (#4034)Paul Melis
* Fix #4024, cylinder drawing was incorrect due to imprecise angle stepping (mostly noticeable with semi-transparent cylinders) * Fix var name and spacing
2024-06-03rtext: added functions for camel case and snake case (reopened due to ↵IoIxD
formatting errors) (#4033) * rtext: added functions for camel case and snake case * Update raylib_api.* by CI * rtext: removed always false comparison --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-03LoadIQM: attempt to load texture from IQM at loadtime. (#4029)Jett
tries to load the texture with the base path of the original IQM file, relative paths should work.
2024-06-02[rmodels] Send full matModel to shader in DrawMesh (#4005) (#4022)David Holland
2024-06-02LoadModelAnimationsIQM: fix corrupted animation names (#4026)Jett
Correctly copies animation names from IQM animation to raylib animation.
2024-05-30[rshapes]Circle line collision function (#4018)kai-z99
* inital function * working 1 * optimize * optimized dot product * simplify * cleanup * cleanup * cleanup * comment * var name change * epsilon
2024-05-30Fix typos in markdowns and comments, Fix invalid links in HISTORY.md (#4017)vaezim
2024-05-29review color tint functions (#4015)Le Juez Victor
2024-05-29Update raylib.hRay
2024-05-29REVIEWED: `ExportFontAsCode()`, avoid `const` #4013Ray
2024-05-29[rtext] Added cast to ExportFontAsCode output to fix C++ compiler errors (#4013)DarkAssassin23
2024-05-29[build.zig] Fix Zig emscripten build (#4012)Dylan
* Fix for issue #4010 Split the code for Zig's master branch and >= 0.12.0 due to changes in https://github.com/ziglang/zig/pull/19623 * Restore the cache_include path which was removed in error Accidently removed a couple lines I didn't mean to 🙈
2024-05-29ADDED: `IsFileNameValid()`Ray
2024-05-29[rmodels] Multiplication of colors in `DrawModelEx` which can be simplified ↵Le Juez Victor
(#4002) * simplifies color multiplication `DrawModelEx` * add explicit casts
2024-05-24fix WaveCrop(): update wave->frameCount (#4003)listeria
also allow `finalFrame = wave->frameCount' as the range of frames does not include it. Co-authored-by: Listeria monocytogenes <[email protected]>
2024-05-21Update rcore_desktop_sdl.cRay
2024-05-21REVIEWED: `ColorToInt()` PRRay
2024-05-21Call SDL_GL_SetSwapInterval() after GL context creation (#3997)JupiterRider
2024-05-21[rtextures] Fix Undefined behaviour in ColorToInt (#3996)OetkenPurveyorOfCode
2024-05-21fixed out of bounds error in GenMeshTangents (#3990)Salvador Galindo
2024-05-21fix WaveCrop() and use frames instead of samples (#3994)listeria
Co-authored-by: Listeria monocytogenes <[email protected]>
2024-05-18REVIEWED: LoadBMFont(), issue on not glyph data initializedRay
2024-05-18Update config.hRay
2024-05-16[raudio] Removed drwav_uninit in LoadMusicStream to fix a crash (#3986)FishingHacks