Struct int2

Page Contents

Struct Documentation

struct int2

Just a simple coupling of two integers as x and y.

Public Functions

int2()

Default constructor: (0, 0).

int2(int _x, int _y)

Explicit constructor: (_x, _y).

Public Members

int x

The first coordinate.

int y

The second coordinate.