projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I forgot to commit this as part of r472. Sorry!
[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
25a5e60
..
e44137a
100644
(file)
--- a/
synfig-core/trunk/src/synfig/vector.h
+++ b/
synfig-core/trunk/src/synfig/vector.h
@@
-2,7
+2,7
@@
/*! \file vector.h
** \brief Various discreet type definitions
**
/*! \file vector.h
** \brief Various discreet type definitions
**
-** $Id
: vector.h,v 1.2 2005/01/23 04:03:21 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-71,7
+71,7
@@
private:
value_type _x, _y;
public:
value_type _x, _y;
public:
- Vector() { };
+ Vector()
: _x(0.0), _y(0.0)
{ };
Vector(const value_type &x, const value_type &y):_x(x),_y(y) { };
bool is_valid()const { return !(isnan(_x) || isnan(_y)); }
Vector(const value_type &x, const value_type &y):_x(x),_y(y) { };
bool is_valid()const { return !(isnan(_x) || isnan(_y)); }