MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setX

Method setX

src/Geoscape/Polygon.cpp:130–133  ·  view source on GitHub ↗

* Changes the X coordinate of a given point. * @param i Point number (0-max). * @param x Point's X coordinate. */

Source from the content-addressed store, hash-verified

128 * @param x Point's X coordinate.
129 */
130void Polygon::setX(int i, Sint16 x)
131{
132 _x[i] = x;
133}
134
135/**
136 * Returns the Y coordinate of a given point.

Callers 11

BuildNewBaseStateMethod · 0.45
resizeMethod · 0.45
GeoscapeStateMethod · 0.45
resizeMethod · 0.45
cacheMethod · 0.45
drawDetailMethod · 0.45
drawMarkersMethod · 0.45
DogfightStateMethod · 0.45
moveWindowMethod · 0.45
resizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected