Merge branch 'Sprites'

This commit is contained in:
StratiX0
2024-03-27 12:01:07 +01:00
40 changed files with 2819 additions and 357 deletions

View File

@@ -28,15 +28,15 @@ void LightClass::SetAmbientColor(float red, float green, float blue, float alpha
void LightClass::SetDiffuseColor(float red, float green, float blue, float alpha)
{
m_diffuseColor = XMFLOAT4(red, green, blue, alpha);
return;
m_diffuseColor = XMFLOAT4(red, green, blue, alpha);
return;
}
void LightClass::SetDirection(float x, float y, float z)
{
m_direction = XMFLOAT3(x, y, z);
return;
m_direction = XMFLOAT3(x, y, z);
return;
}
XMFLOAT4 LightClass::GetAmbientColor()
@@ -47,11 +47,11 @@ XMFLOAT4 LightClass::GetAmbientColor()
XMFLOAT4 LightClass::GetDiffuseColor()
{
return m_diffuseColor;
return m_diffuseColor;
}
XMFLOAT3 LightClass::GetDirection()
{
return m_direction;
return m_direction;
}