floor method

CustomPoint<int> floor()

Create new CustomPoint where x and y values are rounded down to int

Implementation

CustomPoint<int> floor() {
  return CustomPoint<int>(x.floor(), y.floor());
}