This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Merge pull request
#315
from joeld42/obj-loader-fix
Fix for OBJ loading
pull/329/head
Ray
7 years ago
committed by
GitHub
parent
83b4b13a2c
e0c95ede50
commit
c949b74114
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/models.c
+ 1
- 0
src/models.c
View File
@ -1637,6 +1637,7 @@ static Mesh LoadOBJ(const char *fileName)
/
/
NOTE
:
faces
MUST
be
defined
as
TRIANGLES
(
3
vertex
per
face
)
while
(
!
feof
(
objFile
)
)
{
dataType
=
'
\0
'
;
fscanf
(
objFile
,
"
%c
"
,
&
dataType
)
;
switch
(
dataType
)
Write
Preview
Loading…
Cancel
Save