This commit is contained in:
Riley Labrecque
2020-01-05 13:32:14 -08:00
parent 1604157f70
commit 374a8762c6
94 changed files with 1035 additions and 700 deletions
+4 -4
View File
@@ -764,10 +764,10 @@ void CShip::Render()
float rotationClockwise = (m_pGameEngine->GetGameTickCount() / 500.0f);
float rotationCounter = -(m_pGameEngine->GetGameTickCount() / 500.0f);
float x1 = 28.0f * cos( rotationClockwise );
float y1 = 28.0f * sin( rotationClockwise );
float x2 = 28.0f * cos( rotationCounter );
float y2 = 28.0f * sin( rotationCounter );
float x1 = 28.0f * (float)cos( rotationClockwise );
float y1 = 28.0f * (float)sin( rotationClockwise );
float x2 = 28.0f * (float)cos( rotationCounter );
float y2 = 28.0f * (float)sin( rotationCounter );
m_pGameEngine->BDrawTexturedQuad(
this->GetXPos() - x1, this->GetYPos() - y1, this->GetXPos() + y1, this->GetYPos() - x1,