载入中...
搜索中...
未找到
VoronoiCook.h 文件参考

浏览源代码.

类

struct  eve::physics::destruction_cook::FracturedCollection
 Complete owning fracture asset: graph, body origins and exact convex geometry. 更多...
 

命名空间

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

函数

Result< FracturedCollection > eve::physics::destruction_cook::cookVoronoi (const eve::asset::CanonicalMeshData &mesh, const FractureRecipe &recipe)
 Intersect a closed convex source mesh with seeded Voronoi half-spaces.
 
Result< FracturedCollection > eve::physics::destruction_cook::cookVoronoiAssembly (const GeometryCollectionAsset &assembly, const FractureRecipe &recipe)
 Prefracture each box in an authored assembly and preserve declared parent supports. Adjacent child AABBs within 0.04m are welded only across an authored parent edge. @cost Offline repeated convex clipping; amortize once over all animation instances.
 
Result< FracturedCollection > eve::physics::destruction_cook::cookVoronoiAssembly (const GeometryCollectionAsset &assembly, const AssemblyFractureSettings &settings)
 Parameterized assembly cook with per-group/per-component fracture and joint policies. @cost Offline clipping and graph construction; cook once, reuse every saved playback.