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

Method to_string

include/reactphysics3d/mathematics/Vector2.h:341–343  ·  view source on GitHub ↗

Get the string representation

Source from the content-addressed store, hash-verified

339
340// Get the string representation
341RP3D_FORCE_INLINE std::string Vector2::to_string() const {
342 return "Vector2(" + std::to_string(x) + "," + std::to_string(y) + ")";
343}
344
345// Return the zero vector
346RP3D_FORCE_INLINE Vector2 Vector2::zero() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected