载入中...
搜索中...
未找到
eve::fluids::OceanSurfaceGeometry结构体 参考

Owning parametric surface geometry; derivatives are with respect to undisplaced world X and Z. 更多...

#include <OceanSpectrum.h>

Public 成员函数

glm::dvec3 normal () const
 Compute the oriented unit normal from the same derivatives used by world-space queries.
 

Public 属性

double foam = 0.0
 Local persistent foam coverage, composed by OceanWaterView from its wake owner.
 
glm::dvec3 position {0.0}
 
glm::dvec3 tangentX {1.0, 0.0, 0.0}
 
glm::dvec3 tangentZ {0.0, 0.0, 1.0}
 

详细描述

Owning parametric surface geometry; derivatives are with respect to undisplaced world X and Z.

在文件 OceanSpectrum.h 第 43 行定义.

成员函数说明

◆ normal()

glm::dvec3 eve::fluids::OceanSurfaceGeometry::normal ( ) const
inline

Compute the oriented unit normal from the same derivatives used by world-space queries.

在文件 OceanSpectrum.h 第 50 行定义.

引用了 tangentX , 以及 tangentZ.

类成员变量说明

◆ foam

double eve::fluids::OceanSurfaceGeometry::foam = 0.0

Local persistent foam coverage, composed by OceanWaterView from its wake owner.

在文件 OceanSpectrum.h 第 45 行定义.

◆ position

glm::dvec3 eve::fluids::OceanSurfaceGeometry::position {0.0}

在文件 OceanSpectrum.h 第 46 行定义.

被这些函数引用 eve::fluids::OceanSpectrumFrame::geometry().

◆ tangentX

glm::dvec3 eve::fluids::OceanSurfaceGeometry::tangentX {1.0, 0.0, 0.0}

在文件 OceanSpectrum.h 第 47 行定义.

被这些函数引用 normal().

◆ tangentZ

glm::dvec3 eve::fluids::OceanSurfaceGeometry::tangentZ {0.0, 0.0, 1.0}

在文件 OceanSpectrum.h 第 48 行定义.

被这些函数引用 normal().


该结构体的文档由以下文件生成: