repositories
/
lsystem3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[lsystem3d.git]
/
src
/
coordinate.cpp
diff --git
a/src/coordinate.cpp
b/src/coordinate.cpp
index 026addb05df119112436674d20a18cafab1087a5..ffef1c7e0a4b0b37da4bac378d8c5a5d6aac14bd 100644
(file)
--- a/
src/coordinate.cpp
+++ b/
src/coordinate.cpp
@@
-42,6
+42,21
@@
Coordinate::~Coordinate()
+/**
+ * Set coordinate
+ * @param x the x-coordinate
+ * @param y the y-coordinate
+ * @param z the z-coordinate
+ */
+void Coordinate::setXYZ(double x, double y, double z)
+{
+ _x = x;
+ _y = y;
+ _z = z;
+}
+
+
+
/**
* Get x-coordinate
* @return the x-coordinate
/**
* Get x-coordinate
* @return the x-coordinate
@@
-72,18
+87,3
@@
double Coordinate::getZ()
{
return _z;
}
{
return _z;
}
-
-
-
-/**
- * Set coordinate
- * @param x the x-coordinate
- * @param y the y-coordinate
- * @param z the z-coordinate
- */
-void Coordinate::setXYZ(double x, double y, double z)
-{
- _x = x;
- _y = y;
- _z = z;
-}