| 58 | }; |
| 59 | |
| 60 | inline I64 get_X(const F64 x) const { |
| 61 | if (x >= x_offset) |
| 62 | return (I64)(((x - x_offset) / x_scale_factor) + 0.5); |
| 63 | else |
| 64 | return (I64)(((x - x_offset) / x_scale_factor) - 0.5); |
| 65 | }; |
| 66 | inline I64 get_Y(const F64 y) const { |
| 67 | if (y >= y_offset) |
| 68 | return (I64)(((y - y_offset) / y_scale_factor) + 0.5); |
nothing calls this directly
no outgoing calls
no test coverage detected