SpinSystem Class
System that updates the spin rotation of entities. More...
Declaration
Public Member Typedefs Index
| using | EngineRoleTag = helios::engine::common::tags::SystemRole |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept |
|
Updates spin rotation for all applicable entities. More... | |
Private Static Attributes Index
| static const helios::math::mat4f | identity = helios::math::mat4f::identity() |
|
Identity matrix constant. More... | |
Description
System that updates the spin rotation of entities.
This system iterates over entities with a SpinComponent and updates their accumulated rotation angle based on the spin speed and delta time. The updated rotation state is then written to the RotationStateComponent.
Definition at line 36 of file SpinSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 45 of file SpinSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Updates spin rotation for all applicable entities.
- Parameters
-
updateContext Context containing frame timing and game state.
Definition at line 52 of file SpinSystem.ixx.
Private Static Attributes
identity
| static |
Identity matrix constant.
Definition at line 41 of file SpinSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.