载入中...
搜索中...
未找到
OceanSurface.cpp 文件参考
#include "fluids/OceanSurface.h"
#include <algorithm>
#include <cmath>
#include <numbers>

浏览源代码.

命名空间

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.
 

变量说明

◆ position

glm::dvec3 position {0.0}

在文件 OceanSurface.cpp 第 23 行定义.

◆ tangentX

◆ tangentZ

◆ velocity

glm::dvec3 velocity {0.0}

在文件 OceanSurface.cpp 第 26 行定义.