summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2021-10-13REVIEWED LoadVOX() -WIP-raysan5
It seems vox loader is not working properly...
2021-10-13Reviewed formattingraysan5
2021-10-13Fix issue with empty cylinder (#2050)Horrowind
* Add DrawCylinderEx and DrawCylinderWiresEx * Modify examples/models/models_geometric_shapes.c to show the usage of DrawCylinder(Wires)Ex * Simplified DrawCylinder and DrawCylinderWires to use the -Ex versions. * This reverts commits f49b2598dd3bfc3219d414f24558c68f7ebe9eb5 and 4542b32e4ece9ddae775e7395d4219fa148039a8. * Fixed formatting. Renamed base_angle to baseAngle. Remove most of the raymath.h calls. * Added check for empty cylinder. * Added check for empty cylinder. * Fix bug. Co-authored-by: Horrowind <[email protected]>
2021-10-13Update raylib.hraysan5
2021-10-12REVIEWED: LoadFontFromImage()Ray
Avoid crash on wrong sprite font
2021-10-12Reviewed models examples pathsraysan5
2021-10-12Merge branch 'master' of https://github.com/raysan5/raylibraysan5
2021-10-12Remove unimplemented functionraysan5
2021-10-12Add DrawCylinder(Wires)Ex (#2049)Horrowind
* Add DrawCylinderEx and DrawCylinderWiresEx * Modify examples/models/models_geometric_shapes.c to show the usage of DrawCylinder(Wires)Ex * Simplified DrawCylinder and DrawCylinderWires to use the -Ex versions. * This reverts commits f49b2598dd3bfc3219d414f24558c68f7ebe9eb5 and 4542b32e4ece9ddae775e7395d4219fa148039a8. * Fixed formatting. Renamed base_angle to baseAngle. Remove most of the raymath.h calls. Co-authored-by: Horrowind <[email protected]>
2021-10-12REVIEWED: models resources structureraysan5
2021-10-12REVIEWED: DrawCubeTextureRec() formattingraysan5
2021-10-10Formatting tweakRay
2021-10-10Review RLAPI to avoid warningsRay
2021-10-10Reviewed latest PR formattingRay
2021-10-10Fix dpi issues (#1987)Arnaud Valensi
2021-10-10Add CheckCollisionPointLine to the header, it appears to have been missed ↵Jeffery Myers
(#2042)
2021-10-08Add missing #endif to windows API defines (#2038)Jeffery Myers
2021-10-08Simplified RLAPI preprocessor branchingRay
2021-10-07Fix dll exports so that raylib builds in visual studio again. (#2037)Jeffery Myers
2021-10-06WARNING: BREAKING: REMOVED: `GenImagePerlinNoise()`raysan5
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-06Updated external librariesraysan5
2021-10-06REVIEWED: `RLGL.State.vertexCounter` (See detailed comment)raysan5
`RLGL.State.vertexCounter` is a generic counter and it's reused for all `rlRenderBatch`, actually, once render batch is filled, required vertex count is provided through the draw calls, so, the total accumulated count of vertices is not directly registered inside the rlRenderBatch. `RLGL.State.vertexCounter` keeps that count but one possible improvement(?) could be moving the `vertexCounter` inside `rlRenderBatch` to always keep a register of the total accumulated vertices in that batch (despite that info is provided by the accumulated `draws[i].vertexCount`. Simplifying, `RLGL.State.vertexCounter = SUM(draws[i].vertexCount)` The decision to move the counter out of `rlVertexBuffer` is to keep only the data that I think should belong to `rlVertexBuffer` and make it more generic, aligned with raylib `Mesh` structure. The decision to not add it to `rlRenderBatch` is because it could contain multiple `rlVertexBuffer` and it would be confusing (because it would only register the count of the last filled one).
2021-10-06Remove trailing spacesRay
2021-10-06REDESIGNED: Simplify vertex data recordingRay
Instead of registering vertex texcoords and colors on every call, we keep the last defined value and we record everything on `glVertex*()`. Actually that behavior is aligned with OpenGL 1.1 standard.
2021-10-05Review functions specifiersraysan5
2021-10-05REVIEWED: API functions specifiersraysan5
2021-10-04Revert "reset resizedLastFrame on web platform (#2020)" (#2032)mausimus
2021-10-04[rcore] fix rpi4 Failed to get DRM resources (#2031)tomarigr
* [rcore] fix rpi4 Failed to get DRM resources card1 is not always the the correct card to use on rpi4 rpi os finds the correct card and links it to /dev/dri/by-path/platform-gpu-card during boot. this fix makes sure that we always point to the correct card on rpi4 * Update rcore.c
2021-10-03REVIEWED: Avoid raymath dependencyRay
Still, it depends on Matrix type... rcamera module should be completely reviewed...
2021-10-03Format tweakRay
2021-10-03ADDED: GetImageColor() #2024Ray
2021-10-03Update raylib.hRay
2021-10-03Minor format tweakRay
2021-10-03Added DrawLineBezierCubic() (#2021)SAOMDVN
Co-authored-by: SAOMDVN <[email protected]>
2021-10-03Supress most warnings on rmodels.c (#2029)Laurentino Luna
* Supress most warnings on rmodels.c NOTE: unused symbols have been deleted and the following report will show in what location they were previously. Unused symbols: - ArrayInt - vox_loader.h: line 84 - initArrayInt - vox_loader.h: line 168 - insertArrayInt - vox_loader.h: line 175 - freeArrayInt - vox_loader.h: line 186 - offsetX, offsetY, offsetZ - vox_loader.h: line 610 - chunkTotalChildSize - vox_loader.h: line 623 Other warnings: - initialization discards 'const' qualifier - vox_loader.h: line 572 - incompatible types for VoxVector3 and Vector3 - rmodels.c: line 5748 - incompatible types for VoxColor and Color - rmodels: line 5749 * Remove ToVector3 and ToColor functions and assign values directly
2021-10-03Minor format tweaksRay
2021-10-03WARNING: REVIEWED: Follow a set of conventionsRay
CONVENTIONS: - Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside - Functions input parameters are always received by value - Functions use always a "result" variable for return - Functions are always defined inline - Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
2021-10-02Rename BRDG typo to BDRF (#2028)Chris
2021-09-29reset resizedLastFrame on web platform (#2020)mausimus
2021-09-29RLGL: restore draw batch state after limit check (#2018)mausimus
2021-09-27Update raylib.hRay
2021-09-27Update raylib.hRay
2021-09-27ADDED: Vector3Angle()raysan5
2021-09-27Remove tabsraysan5
2021-09-25Add Zig build file (#2014)Tommi Sinivuo
The build file builds Raylib as a static library for either Windows or Linux.
2021-09-23[models] Animation System Fix Part 1 (#2009)Tristan Schulz
* Fixed gltf missing transforms on load mend * extracted Matrix calculation in to static method and added skinning check * fixed formatting * Fixed write to access to nullptr when animation has no normals * Refactored UpdateModelAnimation to only update changed vertices when needed (allows for multi animation playing) * add check for models that were missed during BindGLTFPrimitiveToBones to not segfault the program * fixed id mismatch between animation and model * draft on fixing the mesh to skin mapping * dont look at this * removing debug info
2021-09-23UPDATED: raylib resource filesraysan5
2021-09-23REVIEWED: SeekMusicStream() formatingraysan5
2021-09-23Fix + Return if attempting to seek on a module format (#2008)Uneven Prankster
2021-09-23REVIEWED: LoadImageAnim() #2005Ray