raysan5
131132f17d
Minor tweaks
5 yıl önce
raysan5
becd3c3831
REVIEWED: GenMeshCylinder(), solved issue #1088
5 yıl önce
Ray
ea40bda88c
Added func used in comments
5 yıl önce
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
5 yıl önce
Ray
c3f06b7470
Remove all trail spaces
5 yıl önce
Ray
cde26c743c
Replace TraceLog() function by TRACELOG macro
Added SUPPORT_TRACELOG_DEBUG config
5 yıl önce
Ray
4992edab24
ADDED: DrawPoint3D()
5 yıl önce
Ray
c715cae18d
Some tweaks
5 yıl önce
Ray
b02c6127a0
Minor tweaks
5 yıl önce
Ray
d41386d661
Minor tweaks to avoid warnings
5 yıl önce
Ray
d10ff78822
WARNING: Renamed Vector3Multiply() to Vector3Scale()
Renamed for consistency with Vecto2Scale()
Also renamed Vector3MultiplyV() to Vector3Multiply()
5 yıl önce
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 )
5 yıl önce
raysan5
21c30f43d4
Update year to 2020
5 yıl önce
las3rlars
f8bd56b07f
Normals was not correctly updated when using animated meshes ( #1052 )
* Normal vbo not correctly updated
5 yıl önce
Ray
1397242d88
Small code tweak to avoid warning
5 yıl önce
Ray
416a52b5bc
Minor comments tweak
5 yıl önce
Ray
2783d0d63e
DrawPoint3D(): PR review
5 yıl önce
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.
5 yıl önce
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
5 yıl önce
chriscamacho
3d8b1165a8
mem leak in gltf loader ( #995 )
5 yıl önce
Ray
9b6227688f
Corrected issue #992
5 yıl önce
Ray
ea70c47a1a
Review latest PR
5 yıl önce
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
5 yıl önce
Michael Vetter
596338b26a
Check whether parsing mtl file was succesful ( #982 )
5 yıl önce
Michael Vetter
eb772bc1e0
Check whether GLTF was loaded correctly ( #981 )
5 yıl önce
Ray
bdcb16e7bb
Review PR and comments
5 yıl önce
Ray
741afde3bc
Review PR formatting
5 yıl önce
chriscamacho
314c4061df
fixs issue mem leak with LoadModel / OBJ and issue with -1 material index ( #969 )
5 yıl önce
chriscamacho
6916ff58b1
fixed some memory leaks, still issue with material index allocation leaking 4 bytes (possibly double allocation) ( #964 )
5 yıl önce
Ray
a2fd427224
Comment tweak
5 yıl önce
raysan5
37bb8e9554
UpdateModelAnimation() - Added security check
5 yıl önce
raysan5
8241dcf80b
Review models loading, memory initialization
5 yıl önce
raysan5
c661cad692
Review all RL_CALLOC() calls
All data should be properly initialized by now
5 yıl önce
Ray
973d32f9a7
Reviewed issue #943
5 yıl önce
Oraoto
7ebcd06652
Fix uninitialized vboId in GenMeshHeightmap ( #949 )
5 yıl önce
raysan5
3ebc55fdfe
Reviewed comment
5 yıl önce
chriscamacho
2d5cc5ddbf
fixed xmloader bug, user must free model shaders and textures as they might be shared ( #933 )
5 yıl önce
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
5 yıl önce
Michael Vetter
6267fd1865
Fix memory leak in LoadGLTF() ( #929 )
Free texturePath in LoadGLTF()
5 yıl önce
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
5 yıl önce
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
5 yıl önce
raysan5
b83d165764
Replace tabs by spaces
5 yıl önce
Ray
4b2f6b2b5f
Check buffer limit on DrawBillboardRec()
5 yıl önce
raysan5
f9a2d89ed2
Use function GetSizeBase64()
5 yıl önce
Ray
0c60af8981
Tweak: Change check order
6 yıl önce
Ray
9609ebf49a
Corrected IQM function declaration
6 yıl önce
Wilhem Barbier
13a1744ca9
Fix #848
6 yıl önce
Ray
371abb0a26
Review glTF implementation formatting
Added comments for the future
6 yıl önce
Wilhem Barbier
e01a381aec
Load glTF
6 yıl önce
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!
6 yıl önce