MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / ToString

Method ToString

include/Matrix.hpp:84–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 constexpr bool operator!=(const ::Matrix& other) { return !(*this == other); }
83
84 [[nodiscard]] std::string ToString() const {
85 return TextFormat(
86 "Matrix(\n"
87 " %f, %f, %f, %f\n"
88 " %f, %f, %f, %f\n"
89 " %f, %f, %f, %f\n"
90 " %f, %f, %f, %f\n"
91 ")",
92 m0, m4, m8, m12,
93 m1, m5, m9, m13,
94 m2, m6, m10, m14,
95 m3, m7, m11, m15
96 );
97 }
98
99 operator std::string() const { return ToString(); }
100

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected