Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-05-14 00:58:39 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-05-14 00:58:39 +0400
commit8f0e608850d4044827487db6c756e71508ba180c (patch)
tree40eb6b2953a85408b3c9c9c99ab789ede66a3875 /src/SubPic/CoordGeom.h
parent3f821fadc692fc31271d3bb9c1764a2b6dc840a4 (diff)
CoordGeom: use M_PI_2 directly instead of M_PI/2
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4713 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/SubPic/CoordGeom.h')
-rw-r--r--src/SubPic/CoordGeom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SubPic/CoordGeom.h b/src/SubPic/CoordGeom.h
index 36204b79b..bb3a21631 100644
--- a/src/SubPic/CoordGeom.h
+++ b/src/SubPic/CoordGeom.h
@@ -51,7 +51,7 @@ public:
Vector Normal(Vector& a, Vector& b);
float Angle(Vector& a, Vector& b);
float Angle(Vector& a);
- void Angle(float& u, float& v); // returns spherical coords in radian, -M_PI/2 <= u <= M_PI/2, -M_PI <= v <= M_PI
+ void Angle(float& u, float& v); // returns spherical coords in radian, -M_PI_2 <= u <= M_PI_2, -M_PI <= v <= M_PI
Vector Angle(); // does like prev., returns 'u' in 'ret.x', and 'v' in 'ret.y'
Vector Unit();