예제 #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);
 }