-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh colors is incorrect #22
Comments
Hey mate, thanks for the tip. |
Hey bud, sorry for the very late response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: