NewtonHeightFieldRayCastCallback

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

NewtonHeightFieldRayCastCallback

typedef dFloat (*NewtonHeightFieldRayCastCallback) (const NewtonBody* const body, const NewtonCollision* const heightFieldCollision, dFloat intersection, int row, int col, dFloat* const normal, int faceId, void* const usedData)

Usage

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

Parameters

  • body NewtonBody*
  • heightFieldCollision NewtonCollision*
  • intersection dFloat
  • row int
  • col int
  • normal dFloat*
  • faceId int
  • usedData void*

Return

  • dFloat

Description

Remarks

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

See also

NewtonHeightFieldSetUserRayCastCallback