Modification scroll, fonctions en const
feat: + vitesse scroll et scroll et clic droit indépendantes refactor: + ajout de const sur certaines fonctions
This commit is contained in:
@@ -42,27 +42,27 @@ void Object::SetWorldMatrix(XMMATRIX worldMatrix)
|
||||
m_worldMatrix = worldMatrix;
|
||||
}
|
||||
|
||||
XMMATRIX Object::GetScaleMatrix()
|
||||
XMMATRIX Object::GetScaleMatrix() const
|
||||
{
|
||||
return m_scaleMatrix;
|
||||
}
|
||||
|
||||
XMMATRIX Object::GetRotateMatrix()
|
||||
XMMATRIX Object::GetRotateMatrix() const
|
||||
{
|
||||
return m_rotateMatrix;
|
||||
}
|
||||
|
||||
XMMATRIX Object::GetTranslateMatrix()
|
||||
XMMATRIX Object::GetTranslateMatrix() const
|
||||
{
|
||||
return m_translateMatrix;
|
||||
}
|
||||
|
||||
XMMATRIX Object::GetSRMatrix()
|
||||
XMMATRIX Object::GetSRMatrix() const
|
||||
{
|
||||
return m_srMatrix;
|
||||
}
|
||||
|
||||
XMMATRIX Object::GetWorldMatrix()
|
||||
XMMATRIX Object::GetWorldMatrix() const
|
||||
{
|
||||
return m_worldMatrix;
|
||||
}
|
||||
@@ -172,7 +172,7 @@ void Object::SetVelocity(XMVECTOR velocity)
|
||||
m_velocity = velocity;
|
||||
}
|
||||
|
||||
XMVECTOR Object::GetVelocity()
|
||||
XMVECTOR Object::GetVelocity() const
|
||||
{
|
||||
return m_velocity;
|
||||
}
|
||||
@@ -182,7 +182,7 @@ void Object::SetAcceleration(XMVECTOR acceleration)
|
||||
m_acceleration = acceleration;
|
||||
}
|
||||
|
||||
XMVECTOR Object::GetAcceleration()
|
||||
XMVECTOR Object::GetAcceleration() const
|
||||
{
|
||||
return m_acceleration;
|
||||
}
|
||||
@@ -192,7 +192,7 @@ void Object::SetMass(float mass)
|
||||
m_mass = mass;
|
||||
}
|
||||
|
||||
float Object::GetMass()
|
||||
float Object::GetMass() const
|
||||
{
|
||||
return m_mass;
|
||||
}
|
||||
Reference in New Issue
Block a user