Skip to content

Commit

Permalink
parse DoubleSided flag
Browse files Browse the repository at this point in the history
  • Loading branch information
binzume committed Feb 1, 2020
1 parent a588431 commit c2d58d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mqo/mqo_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func (p *Parser) readMaterial() *Material {
"spc": func() { m.Specular = p.readFloat() },
"power": func() { m.Power = p.readFloat() },
"tex": func() { m.Texture = p.readStr() },
"dbls": func() { m.DoubleSided = p.readInt() != 0 },
"uid": func() { p.readInt() },
}, fmt.Sprintf("Material %s\n", m.Name))
return &m
Expand Down

0 comments on commit c2d58d3

Please sign in to comment.