X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fturtle.h;h=d28f75fe35024214c1663788ddd05533207159ec;hb=HEAD;hp=c005d13b2a2b9cd734a15cdd5614696c546d7d5b;hpb=526db67540bf69a4c09ed0d0f4d62bad0a37ee70;p=lsystem3d.git diff --git a/src/turtle.h b/src/turtle.h index c005d13..d28f75f 100644 --- a/src/turtle.h +++ b/src/turtle.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 @@ -38,6 +38,7 @@ using namespace std; class Turtle { public: + /** * Constructor * @param model create this model @@ -49,6 +50,12 @@ public: */ ~Turtle(); + + /** + * Reset to default state + */ + void reset(); + /** * Turn left */ @@ -104,10 +111,6 @@ public: */ void pop(); - /** - * Reset to default state - */ - void reset(); /** * Set turn/pitch/roll angle @@ -115,6 +118,7 @@ public: */ void setAngle(double radians); + /** * Get turn/pitch/roll angle * @return the angle, in radians