HomeSort by relevance Sort by last modified time
    Searched refs:normBuf (Results 1 - 4 of 4) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
SkeletonControl.java 330 float[] normBuf = vars.skinNormals;
338 fnb.get(normBuf, 0, bufLength);
344 float nmx = normBuf[idxPositions];
346 float nmy = normBuf[idxPositions];
348 float nmz = normBuf[idxPositions];
369 normBuf[idxPositions] = rnx;
371 normBuf[idxPositions] = rny;
373 normBuf[idxPositions] = rnz;
380 fnb.put(normBuf, 0, bufLength);
439 float[] normBuf = vars.skinNormals
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Sphere.java 153 FloatBuffer normBuf = BufferUtils.createVector3Buffer(vertCount);
159 setBuffer(Type.Normal, 3, normBuf);
219 normBuf.put(kNormal.x).put(kNormal.y).put(
222 normBuf.put(-kNormal.x).put(-kNormal.y).put(
244 BufferUtils.copyInternalVector3(normBuf, iSave, i);
267 normBuf.position(i * 3);
269 normBuf.put(0).put(0).put(-1); // allow for inner
273 normBuf.put(0).put(0).put(1);
290 normBuf.put(0).put(0).put(1);
292 normBuf.put(0).put(0).put(-1);
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
OBJLoader.java 452 FloatBuffer normBuf = null;
456 normBuf = BufferUtils.createFloatBuffer(vertIndexMap.size() * 3);
457 m.setBuffer(VertexBuffer.Type.Normal, 3, normBuf);
493 if (normBuf != null){
495 normBuf.position(v0.index * 3);
496 normBuf.put(v0.vn.x).put(v0.vn.y).put(v0.vn.z);
497 normBuf.position(v1.index * 3);
498 normBuf.put(v1.vn.x).put(v1.vn.y).put(v1.vn.z);
499 normBuf.position(v2.index * 3);
500 normBuf.put(v2.vn.x).put(v2.vn.y).put(v2.vn.z)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
BatchNode.java 151 FloatBuffer normBuf = (FloatBuffer) nvb.getData();
157 doTransformsTangents(posBuf, normBuf, tanBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), bg.cachedOffsetMat);
160 doTransforms(posBuf, normBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), bg.cachedOffsetMat);
163 nvb.updateData(normBuf);

Completed in 841 milliseconds