Update mini_al to v0.8.8
Some minor tweaks around
This commit is contained in:
parent
f32e23c11b
commit
5b09630d45
4 changed files with 1392 additions and 469 deletions
1753
src/external/mini_al.h
vendored
1753
src/external/mini_al.h
vendored
File diff suppressed because it is too large
Load diff
|
@ -2239,7 +2239,7 @@ static Mesh LoadOBJ(const char *fileName)
|
||||||
{
|
{
|
||||||
Mesh mesh = { 0 };
|
Mesh mesh = { 0 };
|
||||||
|
|
||||||
char dataType;
|
char dataType = 0;
|
||||||
char comments[200];
|
char comments[200];
|
||||||
|
|
||||||
int vertexCount = 0;
|
int vertexCount = 0;
|
||||||
|
@ -2262,7 +2262,7 @@ static Mesh LoadOBJ(const char *fileName)
|
||||||
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
|
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
|
||||||
while (!feof(objFile))
|
while (!feof(objFile))
|
||||||
{
|
{
|
||||||
dataType = '\0';
|
dataType = 0;
|
||||||
fscanf(objFile, "%c", &dataType);
|
fscanf(objFile, "%c", &dataType);
|
||||||
|
|
||||||
switch (dataType)
|
switch (dataType)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue