Пример #1
0
 public void vert(float x, float y, float z) {
   Vec.put(x, y, z, mVert.mPos);
   mActiveWriter.mVertWriter.write(mVert, mVertBuf);
   if (mActiveIndexer != null) {
     mActiveIndexer.write(mActivePos, mIndBuf);
   }
   if (++mActivePos < mActiveCap) {
     return;
   }
   flush();
 }
Пример #2
0
 public void tex(Vec4 v) {
   Vec.put(v, mVert.mTex);
 }