eliminate warnings

Have one question.

Point floor(FPoint) just casts from float to int. So in some cases we use standart floor() and in some we use cast to int(). I guess we use everywhere unsigned values so this should not be a problem. But if we will have negative float value, floor() and int() will produce different result.