returns the number of triangles associated with this shape . concode_field_sep int mPrimitive concode_elem_sep float PI concode_elem_sep Buffer mIndexBuffer concode_elem_sep int INT_BYTES concode_elem_sep IntBuffer mColorBuffer concode_elem_sep IntBuffer mNormalBuffer concode_elem_sep float TWO_PI concode_elem_sep IntBuffer mTexcoordBuffer concode_elem_sep int mNumIndices concode_elem_sep boolean mEmitColors concode_elem_sep int SHORT_BYTES concode_elem_sep boolean mEmitTextureCoordinates concode_elem_sep int mIndexDatatype concode_elem_sep float DEGREES_TO_RADIANS concode_elem_sep IntBuffer mVertexBuffer concode_elem_sep boolean mEmitNormals concode_elem_sep float PI_OVER_TWO concode_field_sep int toFixed concode_elem_sep void allocate concode_elem_sep void normalize concode_elem_sep float toFloat concode_elem_sep void cross concode_elem_sep float length concode_elem_sep float length concode_elem_sep void allocateBuffers concode_elem_sep void allocateBuffers concode_elem_sep void draw
int function ( ) { if ( mPrimitive == GL10 . GL_TRIANGLES ) { return mIndexBuffer . capacity ( ) / 3 ; } else if ( mPrimitive == GL10 . GL_TRIANGLE_STRIP ) { return mIndexBuffer . capacity ( ) - 2 ; } return 0 ; }