Skip to content
Snippets Groups Projects
Commit 17b68840 authored by Marco Biasini's avatar Marco Biasini
Browse files

silence warning

parent fd4fdc51
No related branches found
No related tags found
No related merge requests found
...@@ -113,9 +113,9 @@ public: ...@@ -113,9 +113,9 @@ public:
throw geom::OutOfRangeException("4th element of Vec4 is too close to zero for normalization"); throw geom::OutOfRangeException("4th element of Vec4 is too close to zero for normalization");
} else { } else {
Real sf = 1.0/v[3]; Real sf = 1.0/v[3];
x*=sf; x = static_cast<int>(x*sf);
y*=sf; y = static_cast<int>(y*sf);
z*=sf; z = static_cast<int>(z*sf);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment