载入中...
搜索中...
未找到
Box3DShape.h
浏览该文件的文档.
1#pragma once
2#include <box3d/id.h>
4namespace eve::physics::box3d {
8[[nodiscard]] eve::Result<std::unique_ptr<IShapeBackend3D>> makeShape(b3BodyId body, const ShapeGeometry3D& geometry,
9 float density, float friction, float restitution);
10} // namespace eve::physics::box3d
float friction
float density
std::string body
std::string geometry
double restitution
Move-only operation result carrying either a value or Status.
Definition Result.h:176
eve::Result< std::unique_ptr< IShapeBackend3D > > makeShape(b3BodyId body, const ShapeGeometry3D &geometry, float density, float friction, float restitution)
Internal native shape factory; transfers native/cooked ownership on success. @cost Cooks the supplied...