Returns the fractional part of x
| 589 | |
| 590 | // Returns the fractional part of x |
| 591 | inline float Frac(float x) |
| 592 | { |
| 593 | float intPart; |
| 594 | return std::modf(x, &intPart); |
| 595 | } |
| 596 | |
| 597 | // Returns the fractional part of x |
| 598 | inline Float2 Frac(Float2 x) |
no test coverage detected