Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Aug 31, 2024
1 parent d7fc5f2 commit 5ca02cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions python/dartpy/dynamics/Shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,14 @@ void Shape(py::module& m)
-> dart::common::ResourceRetrieverPtr {
return self->getResourceRetriever();
})
.def("setScale", py::overload_cast<const Eigen::Vector3d&>(&dart::dynamics::MeshShape), py::arg("scale"))
.def("setScale", py::overload_cast<double>(&dart::dynamics::MeshShape), py::arg("scale"))
.def(
"setScale",
py::overload_cast<const Eigen::Vector3d&>(&dart::dynamics::MeshShape),
py::arg("scale"))
.def(
"setScale",
py::overload_cast<double>(&dart::dynamics::MeshShape),
py::arg("scale"))
.def(
"getScale",
+[](const dart::dynamics::MeshShape* self) -> const Eigen::Vector3d& {
Expand Down

0 comments on commit 5ca02cf

Please sign in to comment.