Integer part of floating-point number
Helper function for antialiasing calculations. @param x Real number to truncate @return i Integer part (truncated toward zero)