1
Support / Which function is the fastest way to create Object3D
« on: March 17, 2017, 04:23:39 am »
I have all the coordinates, normals, uvs and index values.
which function can create Object3D in shortest time?
Using Object3D(int maxTriangles) and run 8 times addTriangle(SimpleVector vert1, SimpleVector vert2, SimpleVector vert3, TextureInfo tInf)
or
Using Object3D(float[] coordinates, float[] normals, float[] uvs, int[] indices, int textureId)
which function can create Object3D in shortest time?
Using Object3D(int maxTriangles) and run 8 times addTriangle(SimpleVector vert1, SimpleVector vert2, SimpleVector vert3, TextureInfo tInf)
or
Using Object3D(float[] coordinates, float[] normals, float[] uvs, int[] indices, int textureId)