Remove the enemy car from the gint version

This commit is contained in:
duarteapcoelho 2022-12-07 14:39:56 +00:00
parent 7aaaace43b
commit 113ea0366a
1 changed files with 4 additions and 0 deletions

View File

@ -131,8 +131,10 @@ int main(){
Rasterizer::setFOV(70);
Car car = Car();
#ifdef PRIZM
Car enemyCar = Car();
enemyCar.position = {-1000, 0, 0};
#endif
#ifdef PRIZM
while(Serial_IsOpen() != 1){
@ -263,7 +265,9 @@ int main(){
track.render(view, car.position);
#ifdef PRIZM
enemyCar.render(view);
#endif
car.render(view);
char buffer[20];