Remove Utility module and move its content to Core and TextRenderer modules
This commit is contained in:
committed by
Jérôme Leclercq
parent
965a00182c
commit
e64c2b036e
25
include/Nazara/Core/Components/VelocityComponent.inl
Normal file
25
include/Nazara/Core/Components/VelocityComponent.inl
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline VelocityComponent::VelocityComponent(const Vector3f& linearVelocity) :
|
||||
m_linearVelocity(linearVelocity)
|
||||
{
|
||||
}
|
||||
|
||||
inline const Vector3f& VelocityComponent::GetLinearVelocity() const
|
||||
{
|
||||
return m_linearVelocity;
|
||||
}
|
||||
|
||||
inline void VelocityComponent::UpdateLinearVelocity(const Vector3f& linearVelocity)
|
||||
{
|
||||
m_linearVelocity = linearVelocity;
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Core/DebugOff.hpp>
|
||||
Reference in New Issue
Block a user