JoltPhysics3D: Add JoltPivotConstraint3D

This commit is contained in:
SirLynix
2023-03-30 13:23:36 +02:00
committed by Jérôme Leclercq
parent d697450a60
commit 6447686ad9
5 changed files with 133 additions and 91 deletions

View File

@@ -6,19 +6,14 @@
namespace Nz
{
inline bool BulletConstraint3D::IsBodyCollisionEnabled() const
{
return m_bodyCollisionEnabled;
}
template<typename T>
T* BulletConstraint3D::GetConstraint()
T* JoltConstraint3D::GetConstraint()
{
return SafeCast<T*>(m_constraint.get());
}
template<typename T>
const T* BulletConstraint3D::GetConstraint() const
const T* JoltConstraint3D::GetConstraint() const
{
return SafeCast<const T*>(m_constraint.get());
}