début frustrum

This commit is contained in:
Mamitiana RASOLOJAONA
2024-04-02 12:30:17 +02:00
parent 563fea3d75
commit 41fdb55b04
11 changed files with 625 additions and 0 deletions

View File

@@ -255,6 +255,27 @@ bool InputClass::IsEscapePressed()
return false;
}
bool InputClass::IsLeftArrowPressed()
{
if (m_keyboardState[DIK_LEFT] & 0x80)
{
return true;
}
return false;
}
bool InputClass::IsRightArrowPressed()
{
if (m_keyboardState[DIK_RIGHT] & 0x80)
{
return true;
}
return false;
}
void InputClass::GetMouseLocation(int& mouseX, int& mouseY)
{
mouseX = m_mouseX;