summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
AgeCommit message (Collapse)Author
2021-10-25Fix warnings in raylib build (#2084)Jeffery Myers
2021-10-23Comments tweaksraysan5
2021-10-23Added some comments on `LoadGLTF()`raysan5
2021-10-23REVIEWED: Size of bones id supported, max 255 bones per meshraysan5
2021-10-23REVIEWED: `LoadGLTF()` #2075raysan5
2021-10-22REVIEWED: `LoadGLTF()`raysan5
Reorganized code and added some feature and listed restrictions. Some gltf models do not work yet.
2021-10-22REVIEWED: gltf models loading, reverted to a previous version (with some tweaks)raysan5
2021-10-18WARNING: REMOVED: glTF loadingraysan5
Actually, it was broken and it that code has no maintainer.
2021-10-17Remove trailing spacesraysan5
2021-10-14Review some commentsraysan5
2021-10-14Update rmodels.cRay
2021-10-14Starting to review glTF loading -WIP-Ray
2021-10-13Reviewed some MSVC warningsraysan5
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-12Reviewed models examples pathsraysan5
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: DrawCubeTextureRec() formattingraysan5
2021-10-06Updated external librariesraysan5
2021-10-06Remove trailing spacesRay
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-09-27Remove tabsraysan5
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-23Reviewed some TODO commentsRay
2021-09-22Add function DrawCubeTextureRec (#2001)Timon de Groot
* Add function DrawCubeTextureRec * Add EOF newline * Remove unneeded example
2021-09-22Use unsigned int for animation count. (#2002)Ryan Roden-Corrent
LoadModelAnimations takes an `int` for the animation count parameter. The animation count should never be negative, so it makes sense to specify it as unsigned in the API. This matches the API for UnloadModelAnimations, which expects an unsigned int. Both GLTF and IQMM also store the animation count internally as unsigned, and we were casting to a signed int for no reason. GLTF actually uses `size_t` internally, so we're technically risking overflow, but having 2^32 animations seems unlikely.
2021-09-22Update rmodels.cRay
2021-09-22Update rmodels.cRay
2021-09-22Update rmodels.cRay
2021-09-22WARNING: MODULES RENAMING!!!Ray
raylib modules have been slightly renamed to add some identity and note that they are independent modules that can be used as standalone separate parts of raylib if required. The renamed modules are: - `core` -> `rcore` - `shapes` -> `rshapes` - `textures` -> `rtextures` - `text` -> `rtext` - `models` -> `rmodels` - `camera` -> `rcamera` - `gestures` -> `rgestures` - `core` -> `rcore` All the build systems has been adapted to this change.