| 1883 | } |
| 1884 | |
| 1885 | Vector3 ExtractVector3( const uint8_t* vertex, const std::pair<const granny_data_type_definition*, int32_t>& element ) |
| 1886 | { |
| 1887 | vertex += element.second; |
| 1888 | if( element.first->Type == GrannyReal16Member ) |
| 1889 | { |
| 1890 | return *reinterpret_cast<const Vector3_16*>( vertex ); |
| 1891 | } |
| 1892 | else |
| 1893 | { |
| 1894 | return *reinterpret_cast<const Vector3*>( vertex ); |
| 1895 | } |
| 1896 | } |
| 1897 | |
| 1898 | Vector2 ExtractVector2( const uint8_t* vertex, const std::pair<const granny_data_type_definition*, int32_t>& element ) |
| 1899 | { |
no outgoing calls
no test coverage detected