summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
AgeCommit message (Collapse)Author
2020-02-10Minor tweaksraysan5
2020-02-09REVIEWED: GenMeshCylinder(), solved issue #1088raysan5
2020-02-04Added func used in commentsRay
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-01-29ADDED: DrawPoint3D()Ray
2020-01-28Some tweaksRay
2020-01-26Minor tweaksRay
2020-01-24Minor tweaks to avoid warningsRay
2020-01-23WARNING: Renamed Vector3Multiply() to Vector3Scale()Ray
Renamed for consistency with Vecto2Scale() Also renamed Vector3MultiplyV() to Vector3Multiply()
2020-01-17 Fix compilation when the SUPPORT_MESH_GENERATION feature is not supported ↵Victor Gallet
(previously, the loadModel function was using the GenMeshCube texture, if no model founded, to generate a default cube mesh (#1075)
2020-01-05Update year to 2020raysan5
2019-12-29Normals was not correctly updated when using animated meshes (#1052)las3rlars
* Normal vbo not correctly updated
2019-12-11Small code tweak to avoid warningRay
2019-12-01Minor comments tweakRay
2019-11-22DrawPoint3D(): PR reviewRay
2019-11-22Add DrawPoint3D() function to models.c (#1019)Eric J
Uses fewer vertexes than using DrawCube() or DrawSphere() for points. The small line is on analogy to the code for DrawPoint() in shapes.c.
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-23mem leak in gltf loader (#995)chriscamacho
2019-10-22Corrected issue #992Ray
2019-10-21Review latest PRRay
2019-10-21Add multi texture support for materials in GLTF format (#979)Tyler Jessilynn Bezera
* Initial commit of addition for GLTF materials.. should support loading more than just albedo map. * Clean up * fixed seg faults and leaks * temp don't overwrite defuse colour when rendering * undid something dumb! * correctly mixed diffuse map color when rendering to preserve not overwrite it
2019-10-03Check whether parsing mtl file was succesful (#982)Michael Vetter
2019-10-03Check whether GLTF was loaded correctly (#981)Michael Vetter
2019-09-22Review PR and commentsRay
2019-09-19Review PR formattingRay
2019-09-19fixs issue mem leak with LoadModel / OBJ and issue with -1 material index (#969)chriscamacho
2019-09-13fixed some memory leaks, still issue with material index allocation leaking ↵chriscamacho
4 bytes (possibly double allocation) (#964)
2019-09-12Comment tweakRay
2019-08-27UpdateModelAnimation() - Added security checkraysan5
2019-08-27Review models loading, memory initializationraysan5
2019-08-27Review all RL_CALLOC() callsraysan5
All data should be properly initialized by now
2019-08-19Reviewed issue #943Ray
2019-08-19Fix uninitialized vboId in GenMeshHeightmap (#949)Oraoto
2019-08-08Reviewed commentraysan5
2019-08-08fixed xmloader bug, user must free model shaders and textures as they might ↵chriscamacho
be shared (#933)
2019-08-07WARNING: Redesigned structsRay
- Mesh, Shader, Material structs have been reviewed to minimize size when passed by value, all required code has been reviewed. - GetCollisionRayModel() reviewed to avoid pointer, not required because model is not modified inside the function - UnloadMesh() reviewed, pointer not required - CheckCollisionRay*() parameters name reviewed
2019-08-06Fix memory leak in LoadGLTF() (#929)Michael Vetter
Free texturePath in LoadGLTF()
2019-08-06Fix loading multiple animations from .iqm file (#928)culacant
* Fix loading multiple animations from .iqm file * Fix memory leak in models_animation example * Added export instructions to the animation example * use raylib free * include <stdlib.h> to appease the travis CI gods * replace tabs with spaces
2019-08-03Replace tabs with spaces and update year of copyright notices (#927)Leandro Gabriel
* Update year of copyright notices * Fix mistake in comment * Fix typo ("algorythms") * Replace tabs with spaces * Remove trailing whitespace and fix mistake in comment * Fix ExportImageAsCode missing comment rectangle corner * Replace tab with spaces * Replace tabs with spaces
2019-07-28Replace tabs by spacesraysan5
2019-07-22Check buffer limit on DrawBillboardRec()Ray
2019-07-12Use function GetSizeBase64()raysan5
2019-06-12Tweak: Change check orderRay
2019-06-12Corrected IQM function declarationRay
2019-05-22Fix #848Wilhem Barbier
2019-05-20Review glTF implementation formattingRay
Added comments for the future
2019-05-18Load glTFWilhem Barbier
2019-05-15Corrected issue with multi-mesh obj modelsRay
Note that all meshes are loaded as a single one at this moment, loading should be improved!