Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
Math::IntPoint Struct Reference

2D Point with integer coords More...

#include <intpoint.h>

Public Member Functions

 IntPoint (int aX=0, int aY=0)
bool operator== (const IntPoint &p) const
bool operator!= (const IntPoint &p) const
float Length () const

Public Attributes

int x
 X coord.
int y
 Y coord.

Detailed Description

2D Point with integer coords

Analog of WinAPI's POINT struct.


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