public float getNormalZ ( int vertex ) { if ( ! hasNormals ( ) ) { throw new IllegalStateException ( "mesh has no normals" ) ; } checkVertexIndexBounds ( vertex ) ; return m_normals . getFloat ( ( vertex * 3 + 2 ) * SIZEOF_FLOAT ) ; }
Returns the z - coordinate of a vertex normal .