MCPcopy Create free account
hub / github.com/carbonengine/trinity / GrannyRayIntersectionWrap

Function GrannyRayIntersectionWrap

trinity/Resources/TriGrannyRes.cpp:2126–2136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2124}
2125
2126Tr2GrannyIntersectionResultPtr 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
2139Tr2GrannyIntersectionResultPtr TriGrannyRes::RayIntersection( const Vector3& pos, const Vector3& dir, int32_t meshIndex, int32_t areaIndex )

Callers

nothing calls this directly

Calls 1

GrannyRayIntersectionFunction · 0.85

Tested by

no test coverage detected