Skip to content

Commit

Permalink
add header
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Jun 25, 2024
1 parent 7cd7821 commit d7c87b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/threepp/objects/Robot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "threepp/core/Object3D.hpp"

#include <algorithm>

namespace threepp {

struct JointRange {
Expand Down Expand Up @@ -96,15 +98,14 @@ namespace threepp {

[[nodiscard]] size_t numDOF() const {

return articulatedJoints_.size();
return articulatedJoints_.size();
}

private:
std::vector<JointInfo> jointInfos_;
std::vector<std::shared_ptr<Object3D>> links_;
std::vector<std::shared_ptr<Object3D>> joints_;
std::unordered_map<int, std::pair<Object3D*, JointInfo>> articulatedJoints_;

};

}// namespace threepp
Expand Down

0 comments on commit d7c87b3

Please sign in to comment.