void function ( float arg0 , float arg1 , float arg2 ) { positions [ idxPos ++ ] = arg0 ; positions [ idxPos ++ ] = arg1 ; positions [ idxPos ++ ] = arg2 ; if ( hasCols ) idxCols += 4 ; if ( hasNors ) idxNors += 3 ; if ( hasTexCoords ) idxTexCoords += 2 ; numVertices ++ ; }
specifies the position of the current vertex and finalizes it . after a call to this method you will effectively define a new vertex afterwards . concode_field_sep int idxPos concode_elem_sep int maxVertices concode_elem_sep FloatBuffer normalsBuffer concode_elem_sep FloatBuffer colorsBuffer concode_elem_sep boolean hasTexCoords concode_elem_sep float[] positions concode_elem_sep float[] texCoords concode_elem_sep int idxNors concode_elem_sep float[] colors concode_elem_sep boolean hasCols concode_elem_sep int numVertices concode_elem_sep int idxCols concode_elem_sep FloatBuffer positionsBuffer concode_elem_sep FloatBuffer texCoordsBuffer concode_elem_sep boolean hasNors concode_elem_sep float[] normals concode_elem_sep int primitiveType concode_elem_sep int idxTexCoords concode_field_sep void normal concode_elem_sep int getMaxVertices concode_elem_sep void color concode_elem_sep void texCoord concode_elem_sep void end concode_elem_sep void dispose concode_elem_sep int getNumVertices concode_elem_sep void begin concode_elem_sep void begin