X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcoordinate.h;h=6d1b63f0ab651d6271364196e5c8c0843a44cee2;hb=d105c6a79b4a5ec2d28e9f9425e9928b9a5384c2;hp=cac2a1a5e5fc9f119bea689af40b8187db601243;hpb=15c82487a77555b040f3f4e03bc11da8b9bc5905;p=lsystem3d.git diff --git a/src/coordinate.h b/src/coordinate.h index cac2a1a..6d1b63f 100644 --- a/src/coordinate.h +++ b/src/coordinate.h @@ -1,6 +1,6 @@ // Copyright (C) 2006 Erik Dahlberg // -// This file is part of LSystem3d. +// This file is part of LSystem3D. // // LSystem3D is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -25,11 +25,12 @@ /** - * 3d coordinate + * 3D coordinate */ class Coordinate { public: + /** * Constructor */ @@ -40,6 +41,14 @@ public: */ ~Coordinate(); + /** + * Set coordinate + * @param x the x-coordinate + * @param y the y-coordinate + * @param z the z-coordinate + */ + void setXYZ(double x, double y, double z); + /** * Get x-coordinate * @return the x-coordinate @@ -57,14 +66,6 @@ public: * @return the z-coordinate */ double getZ(); - - /** - * Set coordinate - * @param x the x-coordinate - * @param y the y-coordinate - * @param z the z-coordinate - */ - void setXYZ(double x, double y, double z); protected: