unscaleBy method
CustomPoint<int>
unscaleBy(
- CustomPoint<int> point
)
inherited
Create new CustomPoint
whose x and y values are divided by
other point
values
Implementation
CustomPoint<T> unscaleBy(CustomPoint<T> point) {
return CustomPoint<T>(x / point.x, y / point.y);
}