Home
last modified time | relevance | path

Searched refs:pointIndex (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java63 for (int i = 0, pointIndex = 0; i < mesh.getTriangleCount(); ++i) { in cubeProjection()
71 uvCoordinates[pointIndex++] = (triangle.get1().y - min.y) / ext[1]; in cubeProjection()
72 uvCoordinates[pointIndex++] = (triangle.get1().z - min.z) / ext[2]; in cubeProjection()
73 uvCoordinates[pointIndex++] = (triangle.get2().y - min.y) / ext[1]; in cubeProjection()
74 uvCoordinates[pointIndex++] = (triangle.get2().z - min.z) / ext[2]; in cubeProjection()
75 uvCoordinates[pointIndex++] = (triangle.get3().y - min.y) / ext[1]; in cubeProjection()
76 uvCoordinates[pointIndex++] = (triangle.get3().z - min.z) / ext[2]; in cubeProjection()
78 uvCoordinates[pointIndex++] = (triangle.get1().x - min.x) / ext[0]; in cubeProjection()
79 uvCoordinates[pointIndex++] = (triangle.get1().y - min.y) / ext[1]; in cubeProjection()
80 uvCoordinates[pointIndex++] = (triangle.get2().x - min.x) / ext[0]; in cubeProjection()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTree.java362 int pointIndex = index * 9; in getTriangle() local
364 v1.x = pointData[pointIndex++]; in getTriangle()
365 v1.y = pointData[pointIndex++]; in getTriangle()
366 v1.z = pointData[pointIndex++]; in getTriangle()
368 v2.x = pointData[pointIndex++]; in getTriangle()
369 v2.y = pointData[pointIndex++]; in getTriangle()
370 v2.z = pointData[pointIndex++]; in getTriangle()
372 v3.x = pointData[pointIndex++]; in getTriangle()
373 v3.y = pointData[pointIndex++]; in getTriangle()
374 v3.z = pointData[pointIndex++]; in getTriangle()