Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java621 … private void doCopyBuffer(FloatBuffer inBuf, int offset, FloatBuffer outBuf, int componentSize) { in doCopyBuffer() argument
627 offset *= componentSize; in doCopyBuffer()
629 for (int i = 0; i < inBuf.capacity() / componentSize; i++) { in doCopyBuffer()
630 pos.x = inBuf.get(i * componentSize + 0); in doCopyBuffer()
631 pos.y = inBuf.get(i * componentSize + 1); in doCopyBuffer()
632 pos.z = inBuf.get(i * componentSize + 2); in doCopyBuffer()
634 outBuf.put(offset + i * componentSize + 0, pos.x); in doCopyBuffer()
635 outBuf.put(offset + i * componentSize + 1, pos.y); in doCopyBuffer()
636 outBuf.put(offset + i * componentSize + 2, pos.z); in doCopyBuffer()
DVertexBuffer.java285 private int componentSize = 0; field in VertexBuffer.Format
287 Format(int componentSize){ in Format() argument
288 this.componentSize = componentSize; in Format()
297 return componentSize; in getComponentSize()