X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcoordinate.h;h=6e11b24bda3d3de236b3477f7ba12684f00653f7;hb=69ebb18969beaecb6ae6d57f1514623c5409f1eb;hp=cac2a1a5e5fc9f119bea689af40b8187db601243;hpb=dd73b028a74ef8b57569c3e76751481d2124e491;p=lsystem3d.git diff --git a/src/coordinate.h b/src/coordinate.h index cac2a1a..6e11b24 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,16 @@ 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 +68,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: