corrected the order or the parameter of the torus

This commit is contained in:
Paolo Cignoni 2012-10-15 09:58:01 +00:00
parent 372ee1ed99
commit ec0c145454
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ void Box(MeshType &in, const typename MeshType::BoxType & bb )
// Torus
template <class MeshType>
void Torus(MeshType &m, float hRingRadius, float vRingRadius, int vRingDiv=12, int hRingDiv=24 )
void Torus(MeshType &m, float hRingRadius, float vRingRadius, int hRingDiv=24, int vRingDiv=12 )
{
m.Clear();
float angleStepV = (2.0f*M_PI)/vRingDiv;