|
Fx2D
A C++20 2D rigid-body physics engine
|
Result from a ray cast against the scene. More...
#include <Geometry.h>
Collaboration diagram for FxRayHit:Public Member Functions | |
| bool | hit () const |
Public Attributes | |
| std::shared_ptr< FxEntity > | entity = nullptr |
| FxVec2f | point {0.0f, 0.0f} |
| FxVec2f | normal {0.0f, 0.0f} |
| float | distance = 0.0f |
Result from a ray cast against the scene.
Definition at line 477 of file Geometry.h.
|
inline |
Definition at line 483 of file Geometry.h.
| float FxRayHit::distance = 0.0f |
Definition at line 481 of file Geometry.h.
| std::shared_ptr<FxEntity> FxRayHit::entity = nullptr |
Definition at line 478 of file Geometry.h.
| FxVec2f FxRayHit::normal {0.0f, 0.0f} |
Definition at line 480 of file Geometry.h.
| FxVec2f FxRayHit::point {0.0f, 0.0f} |
Definition at line 479 of file Geometry.h.