/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
OptimizedErode.java | 75 int vertCount = 0;
93 vertCount++;
107 retval[idx] = 0.5f * (vertAvg / (vertCount > 0 ? vertCount : 1) + horizAvg / (horizCount > 0 ? horizCount : 1));
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
PQTorus.java | 142 int vertCount = radialSamples * steps; 144 FloatBuffer fpb = createVector3Buffer(vertCount); 145 FloatBuffer fnb = createVector3Buffer(vertCount); 146 FloatBuffer ftb = createVector2Buffer(vertCount); 198 ShortBuffer sib = createShortBuffer(6 * vertCount); 199 for (int i = 0; i < vertCount; i++) { 212 ind += vertCount; 214 } else if (ind >= vertCount) { 215 ind -= vertCount;
|
Cylinder.java | 228 int vertCount = axisSamples * (radialSamples + 1) + (closed ? 2 : 0);
230 setBuffer(Type.Position, 3, createVector3Buffer(getFloatBuffer(Type.Position), vertCount));
233 setBuffer(Type.Normal, 3, createVector3Buffer(getFloatBuffer(Type.Normal), vertCount));
236 setBuffer(Type.TexCoord, 2, createVector2Buffer(vertCount));
370 ib.put(index++, vertCount - 2);
375 ib.put(index++, vertCount - 2);
379 ib.put(index++, inverted ? vertCount - 1 : i3++);
380 ib.put(index++, inverted ? i3++ : vertCount - 1);
|
Dome.java | 188 int vertCount = ((planes - 1) * (radialSamples + 1)) + 1; 201 FloatBuffer vb = BufferUtils.createVector3Buffer(vertCount); 202 FloatBuffer nb = BufferUtils.createVector3Buffer(vertCount); 203 FloatBuffer tb = BufferUtils.createVector2Buffer(vertCount); 309 ib.put((short) (vertCount - 1)); 312 ib.put((short) (vertCount - 1));
|
Sphere.java | 74 protected int vertCount;
148 vertCount = (zSamples - 2) * (radialSamples + 1) + 2;
150 FloatBuffer posBuf = BufferUtils.createVector3Buffer(vertCount);
153 FloatBuffer normBuf = BufferUtils.createVector3Buffer(vertCount);
156 FloatBuffer texBuf = BufferUtils.createVector2Buffer(vertCount);
345 idxBuf.put((short) (vertCount - 2));
350 idxBuf.put((short) (vertCount - 2));
360 idxBuf.put((short) (vertCount - 1));
363 idxBuf.put((short) (vertCount - 1));
|
Torus.java | 117 int vertCount = (circleSamples + 1) * (radialSamples + 1); 118 FloatBuffer fpb = BufferUtils.createVector3Buffer(vertCount); 122 FloatBuffer fnb = BufferUtils.createVector3Buffer(vertCount); 126 FloatBuffer ftb = BufferUtils.createVector2Buffer(vertCount);
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapTextPage.java | 134 int vertCount = pageQuads.size() * 4;
149 fpb = BufferUtils.ensureLargeEnough(fpb, vertCount * 3);
150 fpb.limit(vertCount * 3);
154 ftb = BufferUtils.ensureLargeEnough(ftb, vertCount * 2);
155 ftb.limit(vertCount * 2);
159 bcb = BufferUtils.ensureLargeEnough(bcb, vertCount * 4);
160 bcb.limit(vertCount * 4);
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MeshLoader.java | 101 private int vertCount; 133 vertCount = 0; 290 vertCount = parseInt(vertexcount); 298 vertCount = parseInt(vertexcount); 322 //int vertCount = mesh.getVertexCount(); 325 for (int v = 0; v < vertCount; v++) { 368 //int vertCount = mesh.getVertexCount(); 373 weightsFloatData = BufferUtils.createFloatBuffer(vertCount * 4); 374 indicesData = BufferUtils.createByteBuffer(vertCount * 4); 377 weightsFloatData = FloatBuffer.allocate(vertCount * 4) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 116 int vertCount = mesh.getVertexCount(); 119 if (vb.getFormat() == Format.UnsignedInt && vertCount <= 0xffff){ 120 if (vertCount <= 256) 124 }else if (vb.getFormat() == Format.UnsignedShort && vertCount <= 0xff){
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Mesh.java | 176 private int vertCount = -1; 244 clone.vertCount = -1; 690 vertCount = pb.getData().capacity() / pb.getNumComponents(); 695 elementCount = computeNumElements(vertCount); 742 return vertCount; [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
ArmatureModifier.java | 353 * @param vertCount
358 private int endBoneAssigns(int vertCount, FloatBuffer weightsFloatData) {
361 for (int v = 0; v < vertCount; ++v) {
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
OGLESShaderRenderer.java | [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglRenderer.java | [all...] |
LwjglGL1Renderer.java | 904 public void drawTriangleArray(Mesh.Mode mode, int count, int vertCount) { 909 glDrawArrays(convertElementMode(mode), 0, vertCount); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 853 int vertCount; 857 vertCount = 10; 862 vertCount = 5; 877 target->drawNonIndexed(primType, 0, vertCount); [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 853 int vertCount; 857 vertCount = 10; 862 vertCount = 5; 877 target->drawNonIndexed(primType, 0, vertCount); [all...] |