Owning immutable topology projection; XZ offsets are relative to the render origin. All rings share their neighboring edges. No skirts, overlapping tiles or independent patch seams. Const reads are reentrant. Consumers sample waves at double-precision center + parameterOffsets, then subtract their floating origin before converting to GPU floats. Never translate wave phases with the camera. This mesh covers a square, not the entire curved planet. 更多...
#include <OceanMesh.h>
Public 属性 | |
| std::vector< glm::dvec2 > | parameterOffsets |
| std::vector< std::uint32_t > | indices |
| std::vector< double > | radii |
详细描述
Owning immutable topology projection; XZ offsets are relative to the render origin. All rings share their neighboring edges. No skirts, overlapping tiles or independent patch seams. Const reads are reentrant. Consumers sample waves at double-precision center + parameterOffsets, then subtract their floating origin before converting to GPU floats. Never translate wave phases with the camera. This mesh covers a square, not the entire curved planet.
在文件 OceanMesh.h 第 29 行定义.
类成员变量说明
◆ indices
| std::vector<std::uint32_t> eve::fluids::OceanMeshData::indices |
在文件 OceanMesh.h 第 31 行定义.
◆ parameterOffsets
| std::vector<glm::dvec2> eve::fluids::OceanMeshData::parameterOffsets |
在文件 OceanMesh.h 第 30 行定义.
被这些函数引用 eve::fluids::OceanMeshBuilder::build() , 以及 eve::fluids::OceanMeshFrameBuilder::build().
◆ radii
| std::vector<double> eve::fluids::OceanMeshData::radii |
在文件 OceanMesh.h 第 32 行定义.
该结构体的文档由以下文件生成:
- src/modules/fluids/OceanMesh.h