Commit 6cd40383 authored by COULAUD Olivier's avatar COULAUD Olivier

Documentation improved

parent 860948f4
......@@ -96,8 +96,8 @@ public:
}
/** Get the azimuth angle [0,2pi]. You should use this method in order to obtain (x,y,z)*/
FReal getAzimuth() const{
return (FMath::FPi + phi );
// return (phi < 0 ? FMath::FPi*2 + phi : phi);
// return (FMath::FPi + phi );
return (phi < 0 ? FMath::FPi*2.0 + phi : phi);
}
/** Get the cos of theta = z / r */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment