Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
71870e59
Commit
71870e59
authored
Sep 19, 2011
by
Ole Untzelmann
Browse files
[Animations] Fixed a bug in the interpolator
parent
2e3a6caa
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ACGL/Animations/Interpolator.hh
View file @
71870e59
...
...
@@ -78,7 +78,7 @@ public:
}
}
inline
const
T
&
interpolate
(
const
float
_progress
)
inline
const
T
interpolate
(
const
float
_progress
)
{
//std::cout << "[LinearInterpolator] progress: "<<_progress<<std::endl;
...
...
@@ -127,7 +127,7 @@ public:
{
}
inline
const
T
&
interpolate
(
float
_progress
)
inline
const
T
interpolate
(
float
_progress
)
{
unsigned
int
i
=
0
;
for
(
i
=
0
;
i
<
mKeypoints
.
size
();
i
++
)
...
...
@@ -187,7 +187,7 @@ public:
// insert_control_point(data, 0.0f);
}
const
T
&
interpolate
(
float
progress
)
const
T
interpolate
(
float
progress
)
{
curve
.
insertKnot
(
progress
);
// TODO: Interpolation code is missing
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment