xeolabs / xeogl

A WebGL-based 3D engine for technical visualization. Not actively maintained.
http://xeogl.org
Other
1.15k stars 264 forks source link

Use multiple state sort keys #93

Closed xeolabs closed 6 years ago

xeolabs commented 8 years ago

State sort keys will overflow max integer precision. Split into multiple keys, ie. sortKey0, sortKey1 etc.

https://github.com/xeolabs/scenejs/blob/master/src/core/display/display.js#L642