repositories
/
lsystem3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor cleanup.
[lsystem3d.git]
/
src
/
vector.h
diff --git
a/src/vector.h
b/src/vector.h
index 056e22d5e3f4c17fa00bc0879f24c35fb7f55f9f..7d0bf775267c392d3c9d81acc086ddb522baf80a 100644
(file)
--- a/
src/vector.h
+++ b/
src/vector.h
@@
-32,6
+32,7
@@
class Vector : public Coordinate
{
public:
class Vector : public Coordinate
{
public:
+
/**
* Constructor
* @param x the x-coordinate
/**
* Constructor
* @param x the x-coordinate
@@
-45,6
+46,12
@@
public:
*/
~Vector();
*/
~Vector();
+
+ /**
+ * Normalize vector
+ */
+ void normalize();
+
/**
* Rotate around another vector
* @param angle rotation angle
/**
* Rotate around another vector
* @param angle rotation angle
@@
-52,10
+59,6
@@
public:
*/
void rotate(double angle, Vector vector);
*/
void rotate(double angle, Vector vector);
- /**
- * Normalize vector
- */
- void normalize();
/**
* Get scalar product of two vectors
/**
* Get scalar product of two vectors