operator * method

TileIndex operator *(
  1. double scale
)

Multiplies a TileIndex with an scalar.

Implementation

TileIndex operator *(double scale) {
  return TileIndex(x * scale, y * scale);
}