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