]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/blobdiff - base/rrtbase.cc
Reformat
[hubacji1/iamcar.git] / base / rrtbase.cc
index 5768286c8f3c28c665980fdea2c623aed1727da2..d8299d2aaaef9e7d3e4fb83cec3e0674ff376fa0 100644 (file)
@@ -91,10 +91,10 @@ RRTBase::~RRTBase()
         delete this->goal_;
 }
 
-RRTBase::RRTBase():
-        root_(new RRTNode()),
-        goal_(new RRTNode()),
-        gen_(std::random_device{}())
+RRTBase::RRTBase()
+        : root_(new RRTNode())
+        , goal_(new RRTNode())
+        gen_(std::random_device{}())
 {
         this->nodes_.reserve(NOFNODES);
         this->nodes_.push_back(this->root_);
@@ -102,10 +102,10 @@ RRTBase::RRTBase():
         this->add_ixy(this->root_);
 }
 
-RRTBase::RRTBase(RRTNode *init, RRTNode *goal):
-        root_(init),
-        goal_(goal),
-        gen_(std::random_device{}())
+RRTBase::RRTBase(RRTNode *init, RRTNode *goal)
+        : root_(init)
+        , goal_(goal)
+        gen_(std::random_device{}())
 {
         this->nodes_.reserve(NOFNODES);
         this->nodes_.push_back(init);