raysan5
131132f17d
Minor tweaks
hace 5 años
raysan5
becd3c3831
REVIEWED: GenMeshCylinder(), solved issue #1088
hace 5 años
Ray
ea40bda88c
Added func used in comments
hace 5 años
Ray
b5fe41f41a
Review libc dependencies and remove when possible
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
hace 5 años
Ray
c3f06b7470
Remove all trail spaces
hace 5 años
Ray
cde26c743c
Replace TraceLog() function by TRACELOG macro
Added SUPPORT_TRACELOG_DEBUG config
hace 5 años
Ray
4992edab24
ADDED: DrawPoint3D()
hace 5 años
Ray
c715cae18d
Some tweaks
hace 5 años
Ray
b02c6127a0
Minor tweaks
hace 5 años
Ray
d41386d661
Minor tweaks to avoid warnings
hace 5 años
Ray
d10ff78822
WARNING: Renamed Vector3Multiply() to Vector3Scale()
Renamed for consistency with Vecto2Scale()
Also renamed Vector3MultiplyV() to Vector3Multiply()
hace 5 años
Victor Gallet
6a46dcb374
Fix compilation when the SUPPORT_MESH_GENERATION feature is not supported (previously, the loadModel function was using the GenMeshCube texture, if no model founded, to generate a default cube mesh ( #1075 )
hace 5 años
raysan5
21c30f43d4
Update year to 2020
hace 5 años
las3rlars
f8bd56b07f
Normals was not correctly updated when using animated meshes ( #1052 )
* Normal vbo not correctly updated
hace 5 años
Ray
1397242d88
Small code tweak to avoid warning
hace 5 años
Ray
416a52b5bc
Minor comments tweak
hace 5 años
Ray
2783d0d63e
DrawPoint3D(): PR review
hace 5 años
Eric J
5d27c1e6c9
Add DrawPoint3D() function to models.c ( #1019 )
Uses fewer vertexes than using DrawCube() or DrawSphere() for points. The small line is on analogy to the code for DrawPoint() in shapes.c.
hace 5 años
João Coelho
75b0264f35
fix various problems, thanks CppCheck :) ( #1005 )
* explained a bit more the core_window_letterbox example
* fixed a few 'ups' moments that could lead to mild head pain and time loss
hace 5 años
chriscamacho
3d8b1165a8
mem leak in gltf loader ( #995 )
hace 5 años
Ray
9b6227688f
Corrected issue #992
hace 5 años
Ray
ea70c47a1a
Review latest PR
hace 5 años
Tyler Jessilynn Bezera
3f7fa6d6e7
Add multi texture support for materials in GLTF format ( #979 )
* 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
hace 5 años
Michael Vetter
596338b26a
Check whether parsing mtl file was succesful ( #982 )
hace 5 años
Michael Vetter
eb772bc1e0
Check whether GLTF was loaded correctly ( #981 )
hace 5 años
Ray
bdcb16e7bb
Review PR and comments
hace 5 años
Ray
741afde3bc
Review PR formatting
hace 5 años
chriscamacho
314c4061df
fixs issue mem leak with LoadModel / OBJ and issue with -1 material index ( #969 )
hace 5 años
chriscamacho
6916ff58b1
fixed some memory leaks, still issue with material index allocation leaking 4 bytes (possibly double allocation) ( #964 )
hace 5 años
Ray
a2fd427224
Comment tweak
hace 5 años
raysan5
37bb8e9554
UpdateModelAnimation() - Added security check
hace 5 años
raysan5
8241dcf80b
Review models loading, memory initialization
hace 5 años
raysan5
c661cad692
Review all RL_CALLOC() calls
All data should be properly initialized by now
hace 5 años
Ray
973d32f9a7
Reviewed issue #943
hace 5 años
Oraoto
7ebcd06652
Fix uninitialized vboId in GenMeshHeightmap ( #949 )
hace 5 años
raysan5
3ebc55fdfe
Reviewed comment
hace 5 años
chriscamacho
2d5cc5ddbf
fixed xmloader bug, user must free model shaders and textures as they might be shared ( #933 )
hace 5 años
Ray
3d5fa81bf2
WARNING: Redesigned structs
- 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
hace 5 años
Michael Vetter
6267fd1865
Fix memory leak in LoadGLTF() ( #929 )
Free texturePath in LoadGLTF()
hace 5 años
culacant
f518c4e939
Fix loading multiple animations from .iqm file ( #928 )
* 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
hace 5 años
Leandro Gabriel
89c16baf18
Replace tabs with spaces and update year of copyright notices ( #927 )
* 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
hace 5 años
raysan5
b83d165764
Replace tabs by spaces
hace 5 años
Ray
4b2f6b2b5f
Check buffer limit on DrawBillboardRec()
hace 5 años
raysan5
f9a2d89ed2
Use function GetSizeBase64()
hace 5 años
Ray
0c60af8981
Tweak: Change check order
hace 6 años
Ray
9609ebf49a
Corrected IQM function declaration
hace 6 años
Wilhem Barbier
13a1744ca9
Fix #848
hace 6 años
Ray
371abb0a26
Review glTF implementation formatting
Added comments for the future
hace 6 años
Wilhem Barbier
e01a381aec
Load glTF
hace 6 años
Ray
5a1a0a3492
Corrected issue with multi-mesh obj models
Note that all meshes are loaded as a single one at this moment, loading should be improved!
hace 6 años