Box2D: b2RayCastOutput Struct Reference

# b2RayCastOutput Struct Reference

`#include <b2Collision.h>`

List of all members.

## Public Attributes

b2Vec2 | normal
float32 | fraction

## Detailed Description

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

## Member Data Documentation

float32 b2RayCastOutput::fraction

b2Vec2 b2RayCastOutput::normal

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

- Box2D/Box2D/Collision/b2Collision.h