You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think your definition of colors on the Mesh type is incorrect, it should be a vec of vecs, like texture_coords. Also I believe the texture coords, while it technically works, can be made a Vec<Vec<Vector3D>> instead of Vec<Option<Vec<Vector3D>>>. As far as I can tell both mTextureCoords and mColors on aiMesh are defined to end at the first null pointer, so basically you can just discard any null pointer and the rest of the array.
The text was updated successfully, but these errors were encountered:
I think your definition of colors on the Mesh type is incorrect, it should be a vec of vecs, like texture_coords. Also I believe the texture coords, while it technically works, can be made a
Vec<Vec<Vector3D>>
instead ofVec<Option<Vec<Vector3D>>>
. As far as I can tell both mTextureCoords and mColors on aiMesh are defined to end at the first null pointer, so basically you can just discard any null pointer and the rest of the array.The text was updated successfully, but these errors were encountered: