]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Add section comments to RRTBase
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 10 Dec 2018 07:40:27 +0000 (08:40 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 10 Dec 2018 07:57:02 +0000 (08:57 +0100)
base/rrtbase.cc

index a6bada19b0c46407867dba054da2877a8252b096..f3d031f00bb8eb67b00aa4a174a29cdeca6f190e 100644 (file)
@@ -66,6 +66,7 @@ RRTBase::RRTBase(RRTNode *init, RRTNode *goal):
         this->add_iy(init);
 }
 
+// getter
 RRTNode *RRTBase::root()
 {
         return this->root_;
@@ -139,6 +140,7 @@ float RRTBase::elapsed()
         return dt.count();
 }
 
+// setter
 void RRTBase::root(RRTNode *node)
 {
         this->root_ = node;
@@ -237,6 +239,7 @@ bool RRTBase::goal_found(bool f)
         return f;
 }
 
+// other
 bool RRTBase::glplot()
 {
         glClear(GL_COLOR_BUFFER_BIT);