Angel 3.2
A 2D Game Prototyping Engine
Public Member Functions | Public Attributes | List of all members
Vec2i Struct Reference

A handy set of structures for passing around sets of numbers. More...

#include <VecStructs.h>

Public Member Functions

 Vec2i (int x, int y)
bool operator== (const Vec2i &v) const
bool operator!= (const Vec2i &v) const

Public Attributes

int X
int Y

Detailed Description

The little brother of Vector2 and Vector3, which handle floats, Vec2i simply bundles together two integers to make it easier to pass around things like pixel coordinates.

Definition at line 38 of file VecStructs.h.

The documentation for this struct was generated from the following file: