projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moreupdates
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
vector.h
diff --git
a/synfig-core/trunk/src/synfig/vector.h
b/synfig-core/trunk/src/synfig/vector.h
index
a279db8
..
6a1409e
100644
(file)
--- a/
synfig-core/trunk/src/synfig/vector.h
+++ b/
synfig-core/trunk/src/synfig/vector.h
@@
-1,4
+1,4
@@
-/* === S
I N F G ==
========================================================= */
+/* === S
Y N F I G
========================================================= */
/*! \file vector.h
** \brief Various discreet type definitions
**
/*! \file vector.h
** \brief Various discreet type definitions
**
@@
-21,8
+21,8
@@
/* === S T A R T =========================================================== */
/* === S T A R T =========================================================== */
-#ifndef __S
INF
G_VECTOR_H
-#define __S
INF
G_VECTOR_H
+#ifndef __S
YNFI
G_VECTOR_H
+#define __S
YNFI
G_VECTOR_H
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
@@
-51,7
+51,7
@@
extern "C" { int _isnan(double x); }
/* === C L A S S E S & S T R U C T S ======================================= */
/* === C L A S S E S & S T R U C T S ======================================= */
-namespace s
inf
g {
+namespace s
ynfi
g {
/*! \class Vector
** \todo writeme
/*! \class Vector
** \todo writeme
@@
-180,12
+180,12
@@
typedef Vector Point;
-}; // END of namespace s
inf
g
+}; // END of namespace s
ynfi
g
namespace std {
namespace std {
-inline s
inf
g::Vector::value_type
-abs(const s
inf
g::Vector &rhs)
+inline s
ynfi
g::Vector::value_type
+abs(const s
ynfi
g::Vector &rhs)
{ return rhs.mag(); }
}; // END of namespace std
{ return rhs.mag(); }
}; // END of namespace std
@@
-195,14
+195,14
@@
abs(const sinfg::Vector &rhs)
_ETL_BEGIN_NAMESPACE
template <>
_ETL_BEGIN_NAMESPACE
template <>
-class bezier_base<s
infg::Vector,float> : public std::unary_function<float,sinf
g::Vector>
+class bezier_base<s
ynfig::Vector,float> : public std::unary_function<float,synfi
g::Vector>
{
public:
{
public:
- typedef s
inf
g::Vector value_type;
+ typedef s
ynfi
g::Vector value_type;
typedef float time_type;
private:
typedef float time_type;
private:
- bezier_base<s
inf
g::Vector::value_type,time_type> bezier_x,bezier_y;
+ bezier_base<s
ynfi
g::Vector::value_type,time_type> bezier_x,bezier_y;
value_type a,b,c,d;
value_type a,b,c,d;
@@
-229,7
+229,7
@@
public:
value_type
operator()(time_type t)const
{
value_type
operator()(time_type t)const
{
- return s
inf
g::Vector(bezier_x(t),bezier_y(t));
+ return s
ynfi
g::Vector(bezier_x(t),bezier_y(t));
}
void evaluate(time_type t, value_type &f, value_type &df) const
}
void evaluate(time_type t, value_type &f, value_type &df) const