Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D
This commit is contained in:
26
SDK/include/NDK/Systems/PhysicsSystem3D.inl
Normal file
26
SDK/include/NDK/Systems/PhysicsSystem3D.inl
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright (C) 2015 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Development Kit"
|
||||
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
/*!
|
||||
* \brief Gets the physical world
|
||||
* \return A reference to the physical world
|
||||
*/
|
||||
|
||||
inline Nz::PhysWorld3D& PhysicsSystem3D::GetWorld()
|
||||
{
|
||||
return *m_world;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the physical world
|
||||
* \return A constant reference to the physical world
|
||||
*/
|
||||
|
||||
inline const Nz::PhysWorld3D& PhysicsSystem3D::GetWorld() const
|
||||
{
|
||||
return *m_world;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user