Kaydet (Commit) d0f4081d authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Fix build with system glm by catering for explicit constructors

Change-Id: I9bb8542514aad0882935d4a347cbe452cc8fa819
üst e9645402
......@@ -687,7 +687,7 @@ inline glm::vec3 randNormVectorInXYPlane()
template<typename T>
T clamp(const T& rIn)
{
return glm::clamp(rIn, -1.0, 1.0);
return glm::clamp(rIn, T(-1.0), T(1.0));
}
boost::shared_ptr<OGLTransitionImpl> makeRevolvingCircles( ::sal_uInt16 nCircles , ::sal_uInt16 nPointsOnCircles )
......
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