Searched refs:posBuf (Results 1 – 8 of 8) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | SkeletonControl.java | 329 float[] posBuf = vars.skinPositions; in applySkinning() local 332 int iterations = (int) FastMath.ceil(fvb.capacity() / ((float) posBuf.length)); in applySkinning() 333 int bufLength = posBuf.length; in applySkinning() 336 bufLength = Math.min(posBuf.length, fvb.remaining()); in applySkinning() 337 fvb.get(posBuf, 0, bufLength); in applySkinning() 345 float vtx = posBuf[idxPositions++]; in applySkinning() 347 float vty = posBuf[idxPositions++]; in applySkinning() 349 float vtz = posBuf[idxPositions++]; in applySkinning() 370 posBuf[idxPositions++] = rx; in applySkinning() 372 posBuf[idxPositions++] = ry; in applySkinning() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | SkeletonPoints.java | 67 FloatBuffer posBuf = getFloatBuffer(Type.Position); in updateGeometry() local 68 posBuf.clear(); in updateGeometry() 73 posBuf.put(bonePos.getX()).put(bonePos.getY()).put(bonePos.getZ()); in updateGeometry() 75 posBuf.flip(); in updateGeometry() 76 vb.updateData(posBuf); in updateGeometry()
|
D | SkeletonWire.java | 96 FloatBuffer posBuf = getFloatBuffer(Type.Position); in updateGeometry() local 97 posBuf.clear(); in updateGeometry() 102 posBuf.put(bonePos.getX()).put(bonePos.getY()).put(bonePos.getZ()); in updateGeometry() 104 posBuf.flip(); in updateGeometry() 105 vb.updateData(posBuf); in updateGeometry()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Sphere.java | 150 FloatBuffer posBuf = BufferUtils.createVector3Buffer(vertCount); in setGeometryData() local 158 setBuffer(Type.Position, 3, posBuf); in setGeometryData() 210 posBuf.put(kSliceCenter.x + tempVa.x).put( in setGeometryData() 214 BufferUtils.populateFromBuffer(tempVa, posBuf, i); in setGeometryData() 243 BufferUtils.copyInternalVector3(posBuf, iSave, i); in setGeometryData() 264 posBuf.position(i * 3); in setGeometryData() 265 posBuf.put(0f).put(0f).put(-radius); in setGeometryData() 287 posBuf.put(0).put(0).put(radius); in setGeometryData()
|
D | Line.java | 86 VertexBuffer posBuf = getBuffer(Type.Position); in updatePoints() local 88 FloatBuffer fb = (FloatBuffer) posBuf.getData(); in updatePoints() 93 posBuf.updateData(fb); in updatePoints()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
D | OBJLoader.java | 451 FloatBuffer posBuf = BufferUtils.createFloatBuffer(vertIndexMap.size() * 3); in constructMesh() local 486 posBuf.position(v0.index * 3); in constructMesh() 487 posBuf.put(v0.v.x).put(v0.v.y).put(v0.v.z); in constructMesh() 488 posBuf.position(v1.index * 3); in constructMesh() 489 posBuf.put(v1.v.x).put(v1.v.y).put(v1.v.z); in constructMesh() 490 posBuf.position(v2.index * 3); in constructMesh() 491 posBuf.put(v2.v.x).put(v2.v.y).put(v2.v.z); in constructMesh() 521 m.setBuffer(VertexBuffer.Type.Position, 3, posBuf); in constructMesh()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | BatchNode.java | 149 FloatBuffer posBuf = (FloatBuffer) pvb.getData(); in updateSubBatch() local 157 …doTransformsTangents(posBuf, normBuf, tanBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), … in updateSubBatch() 160 …doTransforms(posBuf, normBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), bg.cachedOffsetM… in updateSubBatch() 162 pvb.updateData(posBuf); in updateSubBatch()
|
D | Mesh.java | 1209 VertexBuffer posBuf = getBuffer(VertexBuffer.Type.Position); in updateBound() local 1210 if (meshBound != null && posBuf != null){ in updateBound() 1211 meshBound.computeFromPoints((FloatBuffer)posBuf.getData()); in updateBound()
|