Struct NewtonUserMeshCollisionCollideDescTag

From Newton Wiki
Jump to: navigation, search
typedef struct NewtonUserMeshCollisionRayHitDescTag
{
	dFloat m_p0[4];							// ray origin in collision local space
	dFloat m_p1[4];                         // ray destination in collision local space   
	dFloat m_normalOut[4];					// copy here the normal at the rat intersection
	int m_userIdOut;                        // copy here a user defined id for further feedback  
	void* m_userData;                       // user data passed to the collision geometry at creation time
} NewtonUserMeshCollisionRayHitDesc;