Fixed OBJ reader not reading materials which start with a leading space

This commit is contained in:
Jan Möbius
2021-09-24 11:10:47 +02:00
parent f1464a8424
commit f5e5aa83b1
4 changed files with 84 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
newmtl cube
Ns 10.0000
Ni 1.000
d 1.0000
illum 2
#Ambient, Diffuse, Specular colors
Ka 1.0000 0.7000 0.1000
Kd 0.1250 0.2500 0.5000
Ks 1.0000 0.6000 0.4000