# Stretching and bending Spheres and Cubes...

## Recommended Posts

Axesor    100
Have you ever thought of making a cube or sphere with auxSolidSphere(float Radius); or auxSolidCube(float Size);? Stretching it. I don't know if any of you have done this or if this might help. This took the stress off of me.
glScalef(3.5f, 3.5f, 5.2f); //Just screwing with the square
glSolidCube(3.5f);

//Or to shrink circles or bend them for an explosion?

glScalef(5.5f, 6.5f, 5.5f); //Once again, just bending it to my liking
glSolidSphere(5.0f);


Anyone thought of that? It has helped me instead og going through all those glVertex3f. Just thought it might help =) ~Axesor [Edited by - Axesor on November 25, 2005 11:03:28 PM]