Remove circle

This commit is contained in:
2016-06-22 02:35:34 +02:00
parent 316d6c9e14
commit 5de58e6f74
-14
View File
@@ -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)