projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_animated.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_animated.cpp
b/synfig-core/trunk/src/synfig/valuenode_animated.cpp
index
733729f
..
d354f97
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_animated.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_animated.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-428,7
+429,8
@@
public:
value_type Pn; Pn=after_next->get_value().get(T()); // P_{i+1}
// TCB
value_type Pn; Pn=after_next->get_value().get(T()); // P_{i+1}
// TCB
- value_type vect(static_cast<value_type>(subtract_func(Pc,Pp)*(((1.0-t)*(1.0-c)*(1.0+b))/2.0)+(Pn-Pc)*(((1.0-t)*(1.0+c)*(1.0-b))/2.0)));
+ value_type vect(static_cast<value_type>(subtract_func(Pc,Pp) * (((1.0-t)*(1.0-c)*(1.0+b))/2.0) +
+ (Pn-Pc) * (((1.0-t)*(1.0+c)*(1.0-b))/2.0)));
// Tension Only
//value_type vect((value_type)((Pn-Pp)*(1.0-t)));
// Tension Only
//value_type vect((value_type)((Pn-Pp)*(1.0-t)));