载入中...
搜索中...
未找到
Box3DShape.cpp 文件参考
#include "physics/box3d/Box3DShape.h"
#include "common/Assert.h"
#include <cmath>
#include "common/Exception.h"
#include "physics/Shape3D.h"
#include "physics/box3d/Box3DBody.h"
#include "physics/box3d/Box3DShapeCook.h"

浏览源代码.

命名空间

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::box3d
 

函数

eve::Result< std::unique_ptr< IShapeBackend3D > > eve::physics::box3d::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 geometry once at creation, on the simulation thread.