summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-06-30[rmodels] Return true if no need to interpolate to avoid log flooding (#4118)VitoTringolo
2024-06-28[EXAMPLES] Default Skybox example to not use HDR (#4115)Jeffery Myers
* Update raylib_api.* by CI * Default to not use HDR, and note that HDR support requires that raylib be built with HDR enabled. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-28rmodels.c, `LoadImageFromCgltfImage()` : fix base64 padding support (#4112)SuperUserNameMan
* rmodels.c, LoadImageFromCgltfImage() : fix base64 padding support This should fix the issue related to `.gltf` embeded image in base64 format, by ignoring `=` padding and calculating the data size in bytes correctly. * follow guidelin convention * try to follow guideline convention as much as possible * clarify comments i hope it's clear ennough
2024-06-28Update RGFW and replace long switch in rcore_desktop_rgfw.c with a lookup ↵Colleague Riley
table (#4108) * 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 * Update RGFW, replace long switch with an array, update rgfw platform for RGFW * update RGFW (fix reported glitch with drag and drop files) (linux) * remove u16
2024-06-28Fix GLTF animations (#4107)VitoTringolo
Co-authored-by: Vito Tringolo <[email protected]>
2024-06-27[build.zig] pass the real build.zig file (#4113)InKryption
`@This()` was naively passed to `dependencyFromBuildZig` while inside a file that is not actually the build file, causing a panic when actually used. Passing `@import("../build.zig")` fixes this.
2024-06-27[build.zig] Leverage `dependencyFromBuildZig` (#4109)InKryption
2024-06-25[web] Fix undesired scrollbars on shell files (#4104)jspast
2024-06-25WARNING: REMOVED: Default font fallbackRay
2024-06-25Update rshapes.cRay
2024-06-25[rtext] Don't return default font if LoadFontEx fails (#4077)Peter0x44
It is currently impossible to check a font loaded successfully with IsFontReady because LoadFontEx will always return a valid font. DrawTextEx has this check: if (font.texture.id == 0) font = GetFontDefault(); // Security check in case of not valid font So anyone relying on the default font as a fallback for fonts failing to load should still be covered.
2024-06-25REVIEWED: `DrawLine()` #4075Ray
2024-06-24Update raylib_api.* by CIgithub-actions[bot]
2024-06-24Minor tweaksRay
2024-06-24[Build] Fix warnings when building in VS 2022 (#4095)Jeffery Myers
* Update raylib_api.* by CI * Fix warnings when building examples in MSVC 2022 * fix auto-format that sneaked in there. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24[rmodels] Fix -Wstringop-truncation warning (#4096)Peter0x44
rmodels.c: In function ‘LoadBoneInfoGLTF.isra’: rmodels.c:4874:32: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 4874 | if (node.name != NULL) strncpy(bones[i].name, node.name, sizeof(bones[i].name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-06-24Update raylib_api.* by CIgithub-actions[bot]
2024-06-24[rtextures] Adding `ImageDrawLineEx` function (#4097)Le Juez Victor
* adding `ImageDrawLineEx` function also review other functions for drawing lines in images * fix `ImageDrawLineV`
2024-06-23Update raylib_api.* by CIgithub-actions[bot]
2024-06-23[rtextures] Adding triangle drawing function for images (#4094)Le Juez Victor
* adding triangle drawing function for images * remove unnecessary check * fix an iteration mistake
2024-06-23LoadIQM() set model.meshMaterial[] (#4092)SuperUserNameMan
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-22Fix mistakes in example usages in raylib_parser help text (#4084)Peter0x44
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-16Added note about performace #4067Ray
2024-06-16[build] Making `config.h` fully available to CMake users (#4044)Lázaro Albuquerque
* Create ParseConfigHeader.cmake This script parses the config.h file to automate the process of exposing the configuration flags and configuration values found in the latter. * Update CompileDefinitions.cmake Makes use of the new functionality found in ParseConfigHeader.cmake to make things consistent. * Update CMakeOptions.txt Makes use of the new functionality found in ParseConfigHeader.cmake to make things consistent. * Update CMakeLists.txt Changes required to make possible building raylib for web on Windows 10. * Update LibraryConfigurations.cmake Removes a warning that linker-only flags were being passed to the compiler, which is in accordance to https://emscripten.org/docs/tools_reference/settings_reference.html. * Update CMakeOptions.txt Removed clutter. * Update CompileDefinitions.cmake Removed clutter. * Update CompileDefinitions.cmake Some applications might check for PLATFORM_WEB instead of __EMSCRIPTEN__. * Update CompileDefinitions.cmake Reverting * Update CMakeLists.txt USE_AUDIO is redundant in the presence of the already existent and more descriptive SUPPORT_MODULE_RAUDIO. * Update CompileDefinitions.cmake USE_AUDIO is redundant in the presence of the already existent and more descriptive SUPPORT_MODULE_RAUDIO. * Update ParseConfigHeader.cmake * Revert "Update CMakeLists.txt" This reverts commit 1785fc06b5b89e65515cea3afd3e3c095f15e350. * Revert "Update CompileDefinitions.cmake" This reverts commit 62f9a3a0ea21af7bd0a1ab74d10a305fca2a5695. * Revert "Update CMakeLists.txt" This reverts commit 3e7912144edc5c69c53ed5a9515ae21d66937963. * Revert "Update LibraryConfigurations.cmake" This reverts commit bcc4310c4960c200c340671caa298983340ea386.
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-16Merge branch 'master' of https://github.com/raysan5/raylibRay
2024-06-16REVIEWED: Spline cubic bezier exampleRay
2024-06-16Update raylib_api.* by CIgithub-actions[bot]
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-16zig: run examples from their directories (#4063)Mike Will
So that they can find their respective resource folders.
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-14Update Julia Bindings (#4068)ShalokShalom
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-11Fix fragPosition using wrong matrix in lighting_instancing.vs (#4056)Karl Zylinski
fragPosition was multiplied by mvp*instanceTransform, but it should only be multiplied by instanceTransform. Compare to lighting.vs, there we only use mvp for gl_Position, but matModel for the fragPosition.
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-09Removed Raylib.NET (#4050)MrScautHD
2024-06-09Make addRaylib use options.opengl_version (#4049)carverdamien