corrected the order or the parameter of the torus
This commit is contained in:
parent
372ee1ed99
commit
ec0c145454
|
@ -532,7 +532,7 @@ void Box(MeshType &in, const typename MeshType::BoxType & bb )
|
||||||
|
|
||||||
// Torus
|
// Torus
|
||||||
template <class MeshType>
|
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();
|
m.Clear();
|
||||||
float angleStepV = (2.0f*M_PI)/vRingDiv;
|
float angleStepV = (2.0f*M_PI)/vRingDiv;
|
||||||
|
|
Loading…
Reference in New Issue