summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2023-01-23[models] Load bone names from IQM file if available (#2882)PencilAmazing
* Load bone names from IQM file if available * Formatting and default bone name
2023-01-22Add RAYLIB_VERSION numbers to raylib.h (#2856)Rob Loach
Ran into an issue in raylib-cpp where a user was using raylib 4.5-dev, even though the library currently only targets 4.2. With having RAYLIB_VERSION_MAJOR and RAYLIB_VERSION_MINOR, we will be able to target different versions of raylib in different ways, via C preprocessor conditionals. For example: ``` c newColor = ColorTint(BLUE, RED); TraceLog(LOG_INFO, "The color should be tinted, but this isn't supported in ryalib <= 4.2"); ```
2023-01-22Fix to use TRACELOG() instead of TraceLog() for internal modules (#2881)Rob Loach
There were a few raylib modules that continued to use TraceLog() instead of the TRACELOG() macro. This change ensures that all the internal raylib modules use the TRACELOG() pattern consistently.
2023-01-21minor format tweakRay
2023-01-21Fix android sound issue #2118 (#2875)Antonis Geralis
2023-01-21Stub out rlCubemapParameters if under GL 1.1. (#2876)Uneven Prankster
Co-authored-by: Uneven Prankster <[email protected]>
2023-01-20Have LoadMaterials call the same code that OBJ loader does so that we can ↵Jeffery Myers
read MTL files (#2872)
2023-01-20Fix warnings in raylib project from MSVC (#2871)Jeffery Myers
2023-01-19don't try to free a void* buffer as if it's a cgltf_data structure (#2867)Jeffery Myers
2023-01-19Add rlCubemapParameters to rlgl.h (#2862)Uneven Prankster
Co-authored-by: Uneven Prankster <[email protected]>
2023-01-10Set initial window position for display-sized fullscreen (#2742)Daijiro Fukuda
2023-01-10Minor tweaksRay
2023-01-10OpenGLES 2.0 support on PLATFORM_DESKTOP (#2840)Go Watanabe
* OpenGLES 2.0 support on PLATFORM_DESKTOP * exmples raylib_opengl_interop desktop GLES2 support * rename gles2.h -> glad_gles2.h
2023-01-10ADDED: Required define on Linux #2729Ray
2023-01-10RENAME: type to projection #2851Ray
2023-01-04REVIEWED: `GetClipboardText()` on `PLATFORM_WEB`Ray
2023-01-04REVIEWED: `rLoadTextureDepth()` fixed issueRay
2023-01-03Avoid trying to setup uniform for invalid locationsRay
2023-01-02REVIEWED: GLTF animations support #2844Ray
2023-01-02[models] Add GLTF animation support (#2844)Charles
* add GLTF animation support * use correct index when allocating animVertices and animNormals * early exit LoadModelAnimationsGLTF if the gtlf file fails to parse * update models/models_loading_gltf.c to play gltf animation Updated the .blend file to use weights rather than bone parents so it fits into the framework. Exported with weights to the .glb file. * fix order of operations for bone scale in UpdateModelAnimation * minor doc cleanup and improvements * fix formatting * fix float formatting * fix brace alignment and replace asserts with log messages
2023-01-02REVIEWED: Avoid possible gamepad index as `-1` #2839Ray
WARNING: It could require further review of `GamepadThread()` function where `js_event gamepadEvent.number` detecting current pressed button could generate a missmatch with index 0 (reserved for button unknow). Or maybe `0` could just be `GAMEPAD_BUTTON_NONE`? In that case, consistency with other inputs should be carefully considered...
2023-01-01Update year to 2023Ray
2023-01-01Update year to 2023Ray
2023-01-01Update year to 2023Ray
2023-01-01Update year to 2023 (#2846)Wytek01
* Update year to 2023 * Update raylib.h year to 2023
2022-12-18Minor tweakRay
2022-12-18REVIEWED: `Vector2Angle()`Ray
2022-12-17Minor tweaksRay
2022-12-17Fix vector2angle (#2832)Antonis Geralis
* Fix vector2angle * Fix ; * use acosf * need a break * add comments
2022-12-14Merge branch 'master' of https://github.com/raysan5/raylibRay
2022-12-14REVIEWED: Issue with depth textures on WebGL #2824Ray
2022-12-13Fix Vector2Angle() (#2829)Alexander Heinrich
With this fix the function still returns negative values, which is wrong. But we keep this behaviour to maintain backwards compatibility.
2022-12-07ADDED: `ColorTint()`, `ColorContrast()`Ray
2022-12-05ADDED: `ColorBrightness()`Ray
2022-12-04Expose OpenGL blending mode factors and functions/equationsRay
2022-12-02format tweakRay
2022-11-30Fix an issue when compiling for web (#2820)Hristo Iliev
It would try to use the glfw on the system but we're cross-compiling for web where the implementation is provided by emscripten's team
2022-11-29REVIEWED: Image fileformat support: PIC, PNMRay
2022-11-29ADDED: Optional support for PNM images (.ppm, .pgm)Ray
2022-11-29REVIEWED: Issue with shader linkageRay
2022-11-29Updated rcore.c, renamed 'time' to 'nanoSeconds' (#2816)jtainer
* Updated rcore.c, renamed 'time' to 'time_nsec' When PLATFORM_ANDROID, PLATFORM_RPI or PLATFORM_DRM were defined, there is a compilation error to redefinition of the variable 'time', so the second instance of 'time' was changed to 'time_nsec' which both fixes the name collision and more accurately describes what that variable represents. * Renamed 'time_nsec' to 'nanoSeconds'
2022-11-28Fix array out of range (#2814)Daijiro Fukuda
This breaks other values of the struct.
2022-11-28REVIEWED: Some compilation warnings (for strict rules)Ray
2022-11-24Use const for pointer float array (#2807)Antonis Geralis
* Use const for pointer float array * missed a definition
2022-11-24Correct types for rlBindImageTexture (#2808)Antonis Geralis
2022-11-22REVIEWED: UnloadDirectoryFiles()Ray
2022-11-22Minor tweaksRay
2022-11-15REVIEWED: `rlCullFace()` -> `rlSetCullFace()`Ray
Reviewed formating to follow raylib coding conventions.
2022-11-15Added function rlCullFace (#2797)jtainer
rlCullFace sets the face culling mode to RL_FRONT or RL_BACK which correspond to GL_FRONT and GL_BACK respectively.
2022-11-15Warning on GetRandomValue range limit (#2800)Pere001
Added a comment explaining the range limitations of GetRandomValue. Added a run-time warning TRACELOG when GetRandomValue is called with an invalid range.