载入中...
搜索中...
未找到
OceanSurface.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include <glm/glm.hpp>
#include <span>
#include <vector>

浏览源代码.

类

struct  eve::fluids::OceanWave
 One deep-water Gerstner component; metres, radians, seconds, +Y up. 更多...
 
struct  eve::fluids::OceanSurfaceSettings
 Immutable authored sea inputs copied into OceanSurface. 更多...
 
struct  eve::fluids::OceanSurfaceSample
 Owning sample of the displaced surface at a requested world XZ and time. 更多...
 
class  eve::fluids::OceanSurface
 Immutable analytic sea shared by geometry and buoyancy consumers. Owns every wave; no scene, GPU or physics pointer is retained. Concurrent const queries are safe. Time is supplied by the simulation owner, never read internally. Identical inputs are repeatable on one backend; cross-platform parity is numerical, not bitwise. The sum of horizontal steepness is bounded to keep inversion unique. 更多...
 
struct  eve::fluids::OceanBuoyancyCell
 Sphere with assigned displacement volume; several disjoint volumes approximate a hull. 更多...
 
struct  eve::fluids::OceanCellForce
 Owning force at a hull point; the rigid-body owner applies it once per fixed step. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::fluids
 GLSL compute kernels for the GPU surface-flow solver.
 

函数

Result< OceanCellForce > eve::fluids::evaluateOceanCellForce (const OceanBuoyancyCell &cell, const OceanSurfaceSample &water, double density, double gravity)
 Integrate spherical-cap buoyancy and isotropic quadratic water drag.