floor method
Create new CustomPoint where x and y values are rounded down to int
Implementation
CustomPoint<int> floor() {
return CustomPoint<int>(x.floor(), y.floor());
}
Create new CustomPoint where x and y values are rounded down to int
CustomPoint<int> floor() {
return CustomPoint<int>(x.floor(), y.floor());
}