| 2124 | } |
| 2125 | |
| 2126 | Tr2GrannyIntersectionResultPtr GrannyRayIntersectionWrap( uintptr_t fileinfo, const Vector3& pos, const Vector3& dir, int32_t meshIndex, int32_t areaIndex ) |
| 2127 | { |
| 2128 | if( !fileinfo ) |
| 2129 | { |
| 2130 | return nullptr; |
| 2131 | } |
| 2132 | |
| 2133 | auto fi = reinterpret_cast<granny_file_info*>( fileinfo ); |
| 2134 | |
| 2135 | return GrannyRayIntersection( fi, pos, dir, meshIndex, areaIndex ); |
| 2136 | } |
| 2137 | #endif |
| 2138 | |
| 2139 | Tr2GrannyIntersectionResultPtr TriGrannyRes::RayIntersection( const Vector3& pos, const Vector3& dir, int32_t meshIndex, int32_t areaIndex ) |
nothing calls this directly
no test coverage detected