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

silence warning

parent fd4fdc51
Branches
Tags
No related merge requests found
......@@ -113,9 +113,9 @@ public:
throw geom::OutOfRangeException("4th element of Vec4 is too close to zero for normalization");
} else {
Real sf = 1.0/v[3];
x*=sf;
y*=sf;
z*=sf;
x = static_cast<int>(x*sf);
y = static_cast<int>(y*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