Box2D 2.4.1
A 2D physics engine for games
Loading...
Searching...
No Matches
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:
  • /home/buildozer/aports/community/box2d/src/box2d-2.4.2/include/box2d/b2_collision.h