فهرست منبع

Remove circle

Kenneth van Ewijk 9 سال پیش
والد
کامیت
5de58e6f74
1فایلهای تغییر یافته به همراه0 افزوده شده و 14 حذف شده
  1. 0 14
      Enemy.cpp

+ 0 - 14
Enemy.cpp

@@ -43,20 +43,6 @@ Enemy::~Enemy()
 void Enemy::draw()
 {
 	Entity::draw();
-	glPushMatrix();
-	
-	glTranslatef(position.x, position.y, position.z);
-
-	glBegin(GL_LINE_LOOP);
-	for (int i = 0; i < 360; i++)
-	{
-		//convert degrees into radians
-		float degInRad = i*(M_PI / 180.0);
-		glVertex3f(cos(degInRad)*radius, 1*scale,sin(degInRad)*radius);
-	}
-	glEnd();
-
-	glPopMatrix();
 }
 
 void Enemy::inEyeSight(Vec3f & TargetPosition)