Kesshi Posted January 19, 2017 Share Posted January 19, 2017 Why BabylonJs uses Int32Array for mesh indices? WebGL (the OES_element_index_uint extension) requires unsigned values. Currently the Int32Array will be copied to an Uint32Array before it can be used:https://github.com/BabylonJS/Babylon.js/blob/master/src/babylon.engine.ts#L1328 Wouldn't it be better to change it to Uint32Array? The array could be used directly then. ... or is ther any use for indices with negative value? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.