Home
last modified time | relevance | path

Searched refs:tangents (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java164 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); in generate() local
165 if (tangents != null) { in generate()
170 BufferUtils.clone(tangents.getData())); in generate()
176 tangents.setUsage(Usage.Stream); in generate()
435 FloatBuffer tangents = BufferUtils.createFloatBuffer(vertices.length * 4); in processTriangleData() local
587 tangents.put((i * 4), tangent.x); in processTriangleData()
588 tangents.put((i * 4) + 1, tangent.y); in processTriangleData()
589 tangents.put((i * 4) + 2, tangent.z); in processTriangleData()
590 tangents.put((i * 4) + 3, wCoord); in processTriangleData()
592 tangents.put((i * 4), tangent.x); in processTriangleData()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java336 VertexBuffer tangents = getBuffer(Type.Tangent); in generateBindPose() local
337 if (tangents != null) { in generateBindPose()
342 BufferUtils.clone(tangents.getData())); in generateBindPose()
344 tangents.setUsage(Usage.Stream); in generateBindPose()
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeletonControl.java180 VertexBuffer tangents = mesh.getBuffer(Type.Tangent); in resetToBind() local
181 FloatBuffer tb = (FloatBuffer) tangents.getData(); in resetToBind()