Commit db4abd66 authored by hybrid's avatar hybrid

Missing constification fixed, found by loneboco

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3210 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d5346c98
...@@ -327,7 +327,7 @@ namespace core ...@@ -327,7 +327,7 @@ namespace core
this vector. The calculation assumes the pole at (0,1,0) and this vector. The calculation assumes the pole at (0,1,0) and
returns the angles in X and Y. returns the angles in X and Y.
*/ */
vector3d<T> getSphericalCoordinateAngles() vector3d<T> getSphericalCoordinateAngles() const
{ {
vector3d<T> angle; vector3d<T> angle;
const f64 length = X*X + Y*Y + Z*Z; const f64 length = X*X + Y*Y + Z*Z;
......
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