fixes for physics
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
//
|
||||
//===========================================================================//
|
||||
|
||||
#include "tier0/lib.h"
|
||||
#include "physics.h"
|
||||
#define PHYSICS_OBJECT_DEFINED
|
||||
#define TRIG_H
|
||||
@@ -95,9 +96,9 @@ public:
|
||||
return CRapierPhysics_CreateCube(m_pRustHandle, ball);
|
||||
}
|
||||
|
||||
virtual HShape CreateTriangles( TrianglesShape_t shape ) override
|
||||
virtual HShape CreateTriangleMesh( TriangleMeshShape_t shape ) override
|
||||
{
|
||||
return CRapierPhysics_CreateCube(m_pRustHandle, shape);
|
||||
return CRapierPhysics_CreateTriangleMesh(m_pRustHandle, shape);
|
||||
}
|
||||
|
||||
virtual void DestroyShape( HShape hShape ) override
|
||||
|
||||
Reference in New Issue
Block a user