Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Attributes | List of all members
box2d::RayCastInput Struct Reference

Ray-cast input data. More...

#include <RayCastInput.hpp>

Public Attributes

Length2D p1
 Point 1. More...
 
Length2D p2
 Point 2. More...
 
RealNum maxFraction
 Max fraction. More...
 

Detailed Description

Ray-cast input data.

The ray extends from p1 to p1 + maxFraction * (p2 - p1).

Member Data Documentation

◆ maxFraction

RealNum box2d::RayCastInput::maxFraction

Max fraction.

◆ p1

Length2D box2d::RayCastInput::p1

Point 1.

◆ p2

Length2D box2d::RayCastInput::p2

Point 2.


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