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(); }
public void tex(Vec4 v) { Vec.put(v, mVert.mTex); }