g3n / engine

Go 3D Game Engine (http://g3n.rocks)
https://discord.gg/NfaeVr8zDg
BSD 2-Clause "Simplified" License
2.79k stars 295 forks source link

fix issue #216 #217

Closed Innoviox closed 2 years ago

Innoviox commented 3 years ago

The previous line had its <= and >= switched, so any .GetMaterial call on an object with multiple materials returned nil.

danaugrs commented 2 years ago

Thanks @Innoviox! Sorry for the delay!