| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected