Public Attributes | List of all members
b2RayCastOutput Struct Reference

#include <b2_collision.h>

Public Attributes

float 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 161 of file b2_collision.h.

Member Data Documentation

◆ fraction

float b2RayCastOutput::fraction

Definition at line 164 of file b2_collision.h.

◆ normal

b2Vec2 b2RayCastOutput::normal

Definition at line 163 of file b2_collision.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22