Box2D: b2RayCastInput Struct Reference

| Box2D 2.4.0 A 2D physics engine for games

Public Attributes | List of all members
b2RayCastInput Struct Reference

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1). More...

`#include <b2_collision.h>`

## Public Attributes
b2Vec2 | p1
b2Vec2 | p2
float | maxFraction

## Detailed Description

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

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

- /build/box2d/src/box2d-adaedf1772ede7420bc9ee569c8cba7952db91a0/include/box2d/b2_collision.h