| 1978 | } |
| 1979 | |
| 1980 | int32_t FindAreaIndex( int32_t index, const granny_tri_topology& topology ) |
| 1981 | { |
| 1982 | index /= 3; |
| 1983 | for( int32_t i = 0; i < topology.GroupCount; ++i ) |
| 1984 | { |
| 1985 | if( index >= topology.Groups[i].TriFirst && index < topology.Groups[i].TriFirst + topology.Groups[i].TriCount ) |
| 1986 | { |
| 1987 | return i; |
| 1988 | } |
| 1989 | } |
| 1990 | return -1; |
| 1991 | } |
| 1992 | |
| 1993 | void GetTriangleVertices( const uint8_t** triangle, const granny_mesh& mesh, int32_t index, int32_t vertexSize ) |
| 1994 | { |
no outgoing calls
no test coverage detected