i'm trying to intersect geometry with the rtcIntersectNM method.
signature: void rtcIntersectNM( RTCScene scene, struct RTCIntersectContext* context, struct RTCRayHitN* rayhit, unsigned int N, unsigned int M, size_t byteStride );
I don't unterstand how to create the RTCRayHitN*.
I've an array of RTCRayHit, a normal cast to (RTCRayHitN*) don't work.
Can anybody help me?