Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void ParseVertices()
- {
- MdxVertex[] verts = new MdxVertex[mVertices.Length];
- uint counter = 0;
- foreach (M2Vertex v in mVertices)
- {
- MdxVertex mv = new MdxVertex()
- {
- X = v.x,
- Y = v.y,
- Z = v.z,
- NX = v.nx,
- NY = v.ny,
- NZ = v.nz,
- U = v.u,
- V = v.v,
- };
- verts[counter++] = mv;
- }
- Vertices = verts;
- }
Add Comment
Please, Sign In to add comment