BounceResult Struct
Result of a bounce calculation against level bounds. More...
Declaration
Public Member Attributes Index
| bool | hitX |
|
True if the X-axis boundary was hit. More... | |
| bool | hitY |
|
True if the Y-axis boundary was hit. More... | |
| helios::math::vec3f | translation |
|
The corrected world position. More... | |
| helios::math::vec3f | velocity |
|
The new velocity after bounce. More... | |
| helios::math::vec3f | direction |
|
The new direction vector. More... | |
Description
Result of a bounce calculation against level bounds.
Definition at line 63 of file LevelBoundsBehaviorSystem.ixx.
Public Member Attributes
direction
|
The new direction vector.
Definition at line 73 of file LevelBoundsBehaviorSystem.ixx.
hitX
|
True if the X-axis boundary was hit.
Definition at line 65 of file LevelBoundsBehaviorSystem.ixx.
hitY
|
True if the Y-axis boundary was hit.
Definition at line 67 of file LevelBoundsBehaviorSystem.ixx.
translation
|
The corrected world position.
Definition at line 69 of file LevelBoundsBehaviorSystem.ixx.
velocity
|
The new velocity after bounce.
Definition at line 71 of file LevelBoundsBehaviorSystem.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.