mirror of
https://github.com/thisistherk/fast_obj.git
synced 2025-04-04 21:15:04 +00:00
Merge d05c317bca
into 9884aa86b0
This commit is contained in:
commit
06ab240cfb
1 changed files with 12 additions and 0 deletions
12
fast_obj.h
12
fast_obj.h
|
@ -1201,6 +1201,18 @@ int read_mtllib(fastObjData* data, void* file, const fastObjCallbacks* callbacks
|
|||
}
|
||||
break;
|
||||
|
||||
case 'b':
|
||||
case 'B':
|
||||
p++;
|
||||
if (p[0] == 'u' &&
|
||||
p[1] == 'm' &&
|
||||
p[2] == 'p' &&
|
||||
is_whitespace(p[3]))
|
||||
{
|
||||
p = read_map(data, p + 3, &mtl.map_bump);
|
||||
}
|
||||
break;
|
||||
|
||||
case '#':
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue