OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:uvCoordinates
(Results
1 - 4
of
4
) sorted by null
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVProjectionGenerator.java
35
float[]
uvCoordinates
= new float[positions.limit() / 3 * 2];
37
uvCoordinates
[j] = (positions.get(i) - min.x) / ext[0];
38
uvCoordinates
[j + 1] = (positions.get(i + 1) - min.y) / ext[1];
41
return
uvCoordinates
;
61
float[]
uvCoordinates
= new float[mesh.getTriangleCount() * 6];// 6 == 3 * 2
71
uvCoordinates
[pointIndex++] = (triangle.get1().y - min.y) / ext[1];
72
uvCoordinates
[pointIndex++] = (triangle.get1().z - min.z) / ext[2];
73
uvCoordinates
[pointIndex++] = (triangle.get2().y - min.y) / ext[1];
74
uvCoordinates
[pointIndex++] = (triangle.get2().z - min.z) / ext[2];
75
uvCoordinates
[pointIndex++] = (triangle.get3().y - min.y) / ext[1]
[
all
...]
/external/jmonkeyengine/engine/src/test/jme3test/texture/
TestTexture3D.java
50
float[]
uvCoordinates
= BufferUtils.getFloatArray(fb);
52
for (int i = 0; i <
uvCoordinates
.length; i += 3) {
53
uvCoordinates
[i] = (
uvCoordinates
[i] - min.x) / ext[0];
54
uvCoordinates
[i + 1] = (
uvCoordinates
[i + 1] - min.y) / ext[1];
55
uvCoordinates
[i + 2] = (
uvCoordinates
[i + 2] - min.z) / ext[2];
60
BufferUtils.createFloatBuffer(
uvCoordinates
));
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
MeshContext.java
23
private Map<Geometry, VertexBuffer>
uvCoordinates
= new HashMap<Geometry, VertexBuffer>();
92
uvCoordinates
.put(geometry, vertexBuffer);
103
return
uvCoordinates
.get(geometry);
MeshHelper.java
138
List<Vector2f>
uvCoordinates
= null;
147
uvCoordinates
= new ArrayList<Vector2f>();
173
uvCoordinates
.add(new Vector2f(uvs.get(0, 0).floatValue(), uvs.get(0, 1).floatValue()));
174
uvCoordinates
.add(new Vector2f(uvs.get(1, 0).floatValue(), uvs.get(1, 1).floatValue()));
175
uvCoordinates
.add(new Vector2f(uvs.get(2, 0).floatValue(), uvs.get(2, 1).floatValue()));
219
uvCoordinates
.add(new Vector2f(uvs.get(0, 0).floatValue(), uvs.get(0, 1).floatValue()));
220
uvCoordinates
.add(new Vector2f(uvs.get(2, 0).floatValue(), uvs.get(2, 1).floatValue()));
221
uvCoordinates
.add(new Vector2f(uvs.get(3, 0).floatValue(), uvs.get(3, 1).floatValue()));
295
if (
uvCoordinates
!= null) {
298
BufferUtils.createFloatBuffer(
uvCoordinates
.toArray(new Vector2f[uvCoordinates.size()])));
[
all
...]
Completed in 613 milliseconds