Fixed bug that caused orientation parameters to be ignored.
parent
9cfa6b9c8e
commit
ff1ecd8b1d
|
@ -66,6 +66,7 @@ void Nebula::render(const Vec3f& offset,
|
|||
glDisable(GL_LIGHTING);
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glScalef(getRadius(), getRadius(), getRadius());
|
||||
glRotate(getOrientation());
|
||||
|
||||
m->render(Mesh::TexCoords0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue