Files
NazaraEngine/include/Nazara/Physics3D/PhysCharacter3D.inl
SirLynix 5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00

34 lines
731 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Physics3D module"
// For conditions of distribution and use, see copyright notice in Export.hpp
namespace Nz
{
inline void PhysCharacter3D::DisableSleeping()
{
return EnableSleeping(false);
}
inline const std::shared_ptr<Collider3D>& PhysCharacter3D::GetCollider() const
{
return m_collider;
}
inline PhysWorld3D& PhysCharacter3D::GetPhysWorld()
{
return *m_world;
}
inline const PhysWorld3D& PhysCharacter3D::GetPhysWorld() const
{
return *m_world;
}
inline void PhysCharacter3D::SetImpl(std::shared_ptr<PhysCharacter3DImpl> characterImpl)
{
m_impl = std::move(characterImpl);
}
}