Physics3D/Collider3D: Add GenerateMesh method
This commit is contained in:
@@ -30,6 +30,7 @@ namespace Nz
|
||||
|
||||
class PrimitiveList;
|
||||
class PhysWorld3D;
|
||||
class StaticMesh;
|
||||
|
||||
class NAZARA_PHYSICS3D_API Collider3D
|
||||
{
|
||||
@@ -48,6 +49,8 @@ namespace Nz
|
||||
|
||||
virtual void ForEachPolygon(const std::function<void(const Vector3f* vertices, std::size_t vertexCount)>& callback) const;
|
||||
|
||||
virtual std::shared_ptr<StaticMesh> GenerateMesh() const;
|
||||
|
||||
NewtonCollision* GetHandle(PhysWorld3D* world) const;
|
||||
virtual ColliderType3D GetType() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user