Box2D  2.4.1
A 2D physics engine for games
b2RayCastOutput Struct Reference

#include <b2_collision.h>

Public Attributes

b2Vec2 normal
 
float fraction
 

Detailed Description

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


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