Public Attributes | List of all members
b2RayCastOutput Struct Reference

#include <b2Collision.h>

Public Attributes

float32 fraction
 
b2Vec2 normal
 

Detailed Description

Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.

Definition at line 155 of file b2Collision.h.

Member Data Documentation

float32 b2RayCastOutput::fraction

Definition at line 158 of file b2Collision.h.

b2Vec2 b2RayCastOutput::normal

Definition at line 157 of file b2Collision.h.


The documentation for this struct was generated from the following file:


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52