Struct NewtonUserMeshCollisionCollideDescTag

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;