载入中...
搜索中...
未找到
命名空间 | |
| namespace | detail |
类 | |
| class | AgentInstanceRenderer |
| Packs standardized AgentState into instance transforms for draw submission. 更多... | |
| struct | AgentState |
| Standardized per-agent simulation output shared by all effect kinds. 更多... | |
| struct | BirdProfile |
| Bird flock flight-dynamics parameters. 更多... | |
| class | BirdSolver |
| Bird flock solver with lift / drag / stall / bank (CPU reference). 更多... | |
| struct | DynamicObstacleSource |
| Dynamic spherical obstacle source (e.g. moving prop / wake body). 更多... | |
| class | EffectBackend |
| Binds an EffectProfile to a GpuAgentSimulation and optional renderer. 更多... | |
| struct | EffectProfile |
| Type-erased profile bundle owned by an EffectBackend. 更多... | |
| struct | EffectProfileBase |
| Shared capacity / timing / collision envelope for every effect. 更多... | |
| struct | EnvironmentMarker |
| Point attractor / repulsor / danger marker in world space. 更多... | |
| struct | EnvironmentSnapshot |
| Read-only environment semantics prepared by GpuAgentWorld each tick. 更多... | |
| struct | FishProfile |
| 3D Boids fish school parameters. 更多... | |
| class | FishSolver |
| 3D Boids fish school solver (CPU reference). 更多... | |
| class | GpuAgents |
| GPU Agents module — extensible fixed-step agent FX simulation. 更多... | |
| class | GpuAgentSimulation |
| Fixed-step, double-buffered agent simulation owner. 更多... | |
| class | GpuAgentWorld |
| World-level registry for GPU agent simulations and environment semantics. 更多... | |
| class | IAgentSolver |
| Solver kernel contract: consume read buffer, write next state. 更多... | |
| class | LifeFieldMaterialBinding |
| Packs SurfaceField channels into Graphics-uploadable RGBA8 textures. 更多... | |
| struct | LifeFieldMaterialUniforms |
| Uniform block exposed to materials consuming Life Network surfaces. 更多... | |
| struct | LifeNetworkProfile |
| Life Network 2D surface-trail parameters. 更多... | |
| class | LifeNetworkSolver |
| Life Network 2D surface-trail solver (CPU reference). 更多... | |
| class | ObstacleField |
| Unified static + dynamic obstacle distance field. 更多... | |
| struct | ObstacleSample |
| One SDF sample with outward gradient. 更多... | |
| struct | PetalProfile |
| Passive petal rigid-body aerodynamic parameters. 更多... | |
| class | PetalSolver |
| Passive petal rigid-body aerodynamic solver (CPU reference). 更多... | |
| class | SurfaceCapture |
| Orthographic surface capture that rebuilds height + normals on a SurfaceField. 更多... | |
| class | SurfaceField |
| 2.5D surface + life-field textures for Life Network. 更多... | |
枚举 | |
| enum class | EffectKind : std::uint32_t { Fish = 0 , LifeNetwork = 1 , Bird = 2 , Petal = 3 } |
| Effect kind selecting the solver kernel. 更多... | |
函数 | |
| glm::mat3 | rotationMatrix (const glm::quat &q) |
| Converts a quaternion to a 3x3 rotation matrix (column-major). | |
| glm::quat | lookRotation (const glm::vec3 &forward, const glm::vec3 &upHint=glm::vec3(0.f, 1.f, 0.f)) |
| Builds a facing quaternion from a unit forward and approximate up. | |
| Module_IMPL (GpuAgents, new GpuAgents()) | |
枚举类型说明
◆ EffectKind
|
strong |
函数说明
◆ lookRotation()
|
inline |
Builds a facing quaternion from a unit forward and approximate up.
Normalize.
在文件 AgentState.h 第 36 行定义.
被这些函数引用 eve::gpuagents::detail::integrateBoid(), eve::gpuagents::GpuAgents::spawnCloud(), eve::gpuagents::BirdSolver::step(), eve::gpuagents::FishSolver::step() , 以及 eve::gpuagents::LifeNetworkSolver::step().
◆ Module_IMPL()
| eve::gpuagents::Module_IMPL | ( | GpuAgents | , |
| new | GpuAgents() | ||
| ) |
◆ rotationMatrix()
|
inline |
Converts a quaternion to a 3x3 rotation matrix (column-major).
Mat 3 cast.
在文件 AgentState.h 第 30 行定义.
引用了 q.
被这些函数引用 eve::gpuagents::PetalSolver::step().