载入中...
搜索中...
未找到
GeometryCollectionCooker.cpp 文件参考
#include "physics/destruction/cook/GeometryCollectionCooker.h"
#include "asset/CanonicalMesh.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <utility>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::physics::destruction_cook
 

函数

eve::Result< GeometryCollectionAsset > eve::physics::destruction_cook::cookGeometryCollection (const eve::asset::CanonicalMeshData &mesh, const FractureRecipe &recipe)
 Cook an owning canonical mesh into a geometry-collection asset.
 

变量说明

◆ center

Vec3 center

在文件 GeometryCollectionCooker.cpp 第 48 行定义.

◆ clusterId

◆ halfExtent

◆ max

◆ min

Vec3 min {std::numeric_limits<float>::max(), std::numeric_limits<float>::max(), std::numeric_limits<float>::max()}

◆ position

Vec3 position

在文件 GeometryCollectionCooker.cpp 第 54 行定义.

◆ x

float x = 0.f

在文件 GeometryCollectionCooker.cpp 第 16 行定义.

◆ y

float y = 0.f

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

◆ z

float z = 0.f

在文件 GeometryCollectionCooker.cpp 第 18 行定义.