Remove circle
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user