Commit dc34b188 authored by Christopher Tenter's avatar Christopher Tenter

fix clang error

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20584 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 856b5c48
......@@ -34,9 +34,9 @@
/*===========================================================================*\
* *
* $Revision: 18604 $ *
* $Author: akathrein $ *
* $Date: 2014-05-05 16:29:36 +0200 (Mon, 05 May 2014) $ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
\*===========================================================================*/
......@@ -81,7 +81,7 @@ bsplineSpan(Scalar _t,
Scalar upperBound = _knots[hi];
if (_t >= upperBound)
return hi - 1;
return Vec2i(hi-1-_degree, hi - 1);
int mid = (lo + hi) >> 1;
......
......@@ -34,9 +34,9 @@
/*===========================================================================*\
* *
* $Revision: 18130 $ *
* $Author: moebius $ *
* $Date: 2014-02-05 10:41:16 +0100 (Wed, 05 Feb 2014) $ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
\*===========================================================================*/
......
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