]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/blobdiff - base/rrtbase.cc
Add section comments to RRTBase
[hubacji1/iamcar.git] / 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);