findPlotStart: Find The Starting Place For A Map Centered In A Larger Map

Description Usage Arguments Examples

Description

This function finds the place where a smaller range of (x,y) should begin in order to be centered in a larger (x,y) space.

Usage

1
findPlotStart(newmapx, newmapy, plotx, ploty)

Arguments

newmapx

The range of x in your larger, new map.

newmapy

The range of y in your larger, new map.

plotx

The range of x in your smaller map.

ploty

The range of y in your smaller map.

Examples

1
findPlotStart(300, 300, 100, 150)

ecology-rocks/SortieIO documentation built on May 15, 2019, 7:57 p.m.