MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / to_string

Method to_string

src/collision/shapes/HeightFieldShape.cpp:89–100  ·  view source on GitHub ↗

Return the string representation of the shape

Source from the content-addressed store, hash-verified

87
88// Return the string representation of the shape
89std::string HeightFieldShape::to_string() const {
90
91 std::stringstream ss;
92
93 ss << "HeightFieldShape{" << std::endl;
94
95 ss << "scaling=" << mScale.to_string() << std::endl;
96 ss << ", HeightField=" << mHeightField->to_string() << std::endl;
97 ss << "}";
98
99 return ss.str();
100}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected