| 63 | } |
| 64 | |
| 65 | [[nodiscard]] std::string ToString() const { |
| 66 | return TextFormat( |
| 67 | "RayCollision(hit=%s, distance=%f, point=(%f, %f, %f), normal=(%f, %f, %f))", |
| 68 | hit ? "true" : "false", |
| 69 | distance, |
| 70 | point.x, point.y, point.z, |
| 71 | normal.x, normal.y, normal.z |
| 72 | ); |
| 73 | } |
| 74 | |
| 75 | operator std::string() const { return ToString(); } |
| 76 |
nothing calls this directly
no outgoing calls
no test coverage detected