载入中...
搜索中...
未找到
PetalSolver.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
5
6namespace eve::gpuagents {
7
10public:
12 EffectKind kind() const override { return EffectKind::Petal; }
14 void step(std::span<const AgentState> read, std::span<AgentState> write, const EffectProfile& profile,
15 const EnvironmentSnapshot& env, float dt) override;
16};
17
18} // namespace eve::gpuagents
#define EVENGINE_API_DOMAINS
Definition Export.h:110
float step
Definition TreeMesh.cpp:314
Solver kernel contract: consume read buffer, write next state.
Passive petal rigid-body aerodynamic solver (CPU reference).
Definition PetalSolver.h:9
EffectKind kind() const override
Kind.
Definition PetalSolver.h:12
EffectKind
Effect kind selecting the solver kernel.
Definition AgentState.h:22
Type-erased profile bundle owned by an EffectBackend.
Read-only environment semantics prepared by GpuAgentWorld each tick.