载入中...
搜索中...
未找到
RockMesh.cpp 文件参考
#include "procgen/algorithms/RockMesh.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <unordered_map>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

函数

bool eve::procgen::generateRockMesh (const Params &params, MeshBuild &out, std::string &error)
 Build a shared-vertex, deformed icosphere rock for economical game props.
 

变量说明

◆ a

uint32_t a = 0

在文件 RockMesh.cpp 第 17 行定义.

◆ axisX

◆ axisY

◆ axisZ

◆ b

uint32_t b = 0

在文件 RockMesh.cpp 第 17 行定义.

◆ c

uint32_t c = 0

在文件 RockMesh.cpp 第 17 行定义.

◆ cutDepth

float cutDepth

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

被这些函数引用 eve::procgen::generateRockMesh().

◆ cuts

int cuts

在文件 RockMesh.cpp 第 25 行定义.

被这些函数引用 eve::camera::CameraController::deserializeAsset().

◆ name

const char* name

在文件 RockMesh.cpp 第 21 行定义.

◆ power

◆ skewX

float skewX

在文件 RockMesh.cpp 第 24 行定义.

◆ skewZ

float skewZ

在文件 RockMesh.cpp 第 24 行定义.

◆ x

float x = 0.f

在文件 RockMesh.cpp 第 13 行定义.

◆ y

float y = 0.f

在文件 RockMesh.cpp 第 13 行定义.

◆ z

float z = 0.f

在文件 RockMesh.cpp 第 13 行定义.