Difference between pages "NewtonContactJointGetNextContact" and "NewtonUserMeshCollisionAABBTest"

From Newton Wiki
(Difference between pages)
Jump to: navigation, search
m (1 revision imported)
 
 
Line 1: Line 1:
== NewtonContactJointGetNextContact ==
+
== NewtonUserMeshCollisionAABBTest ==
  
  void* NewtonContactJointGetNextContact (const NewtonJoint* contactJoint, void* contact);
+
typedef int (*NewtonUserMeshCollisionAABBTest) (void* const userData, const dFloat* const boxP0, const dFloat* const boxP1)
  
 
== Usage ==
 
== Usage ==
  
Returns a pointer to the next contact point's data of the contact joint.
+
Callback function that is called by Newton function(s): [[NewtonCreateUserMeshCollision]]
  
 
== Parameters ==
 
== Parameters ==
  
* const NewtonJoint* contactJoint - pointer to the contact joint.
+
* userData void*
* void * - pointer to the previous contact point data.
+
* boxP0 dFloat*
 +
* boxP1 dFloat*
  
 
== Return ==
 
== Return ==
 
+
* int
* Pointer to the next contact point data or NULL in case there are no further contact points.
 
  
 
== Description ==
 
== Description ==
 
Returns a pointer to the next contact point's data of the contact joint.
 
 
The function acts like an iterator together with [[NewtonContactJointGetFirstContact]].
 
  
 
== Remarks ==
 
== Remarks ==
  
Added in Newton 2.0
+
* This is not a library function, but a callback event.
  
 
== See also ==
 
== See also ==
[[NewtonContactJointGetFirstContact]]
+
[[NewtonCreateUserMeshCollision]]
[[NewtonContactJointGetContactCount]]
 
[[NewtonContactJointRemoveContact]]
 
  
[[Category:contact joints interface]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Joint functions]]
+
[[Category:Newton Callbacks]] [[Category:User Static mesh collision interface]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Newton 3 Callbacks]] [[Category:Collision Shape Creation Functions]] [[Category:Collision Shape Creation Callbacks]] [[Category:Collision shape functions]] [[Category:Collision shape Callbacks]] [[Category:User defined mesh shape functions]] [[Category:User defined mesh shape Callbacks]]

Revision as of 08:02, 10 June 2019

NewtonUserMeshCollisionAABBTest

typedef int (*NewtonUserMeshCollisionAABBTest) (void* const userData, const dFloat* const boxP0, const dFloat* const boxP1)

Usage

Callback function that is called by Newton function(s): NewtonCreateUserMeshCollision

Parameters

  • userData void*
  • boxP0 dFloat*
  • boxP1 dFloat*

Return

  • int

Description

Remarks

  • This is not a library function, but a callback event.

See also

NewtonCreateUserMeshCollision