SpinSystem.ixx File
System for applying continuous spin rotation to entities. More...
Included Headers
#include <cmath>
#include <helios.engine.mechanics.lifecycle.components.Active>
#include <helios.engine.modules.spatial.transform.components.RotationStateComponent>
#include <helios.engine.modules.effects.gfx.components.SpinComponent>
#include <helios.math>
#include <helios.engine.runtime.world.GameWorld>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.modules.spatial.transform.components.ComposeTransformComponent>
#include <helios.engine.ecs.System>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | modules |
|
Domain-specific components and systems. More... | |
| namespace | physics |
|
Physics simulation and collision detection subsystem for the game engine. More... | |
| namespace | motion |
|
Motion physics components and systems. More... | |
| namespace | systems |
Classes Index
| class | SpinSystem |
|
System that updates the spin rotation of entities. More... | |
Description
System for applying continuous spin rotation to entities.
File Listing
The file content with the documentation metadata removed is:
24export namespace helios::engine::modules::physics::motion::systems {
34 class SpinSystem : public helios::engine::ecs::System {
39 inline static const helios::math::mat4f identity = helios::math::mat4f::identity();
48 void update(helios::engine::runtime::world::UpdateContext& updateContext) noexcept override {
51 for (auto [entity, sc, rsc, active] : gameWorld_->view<
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.