Colobot
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. More...
 
int y
 Y coord. More...
 

Detailed Description

2D Point with integer coords

Analog of WinAPI's POINT struct.

Member Data Documentation

int Math::IntPoint::x

X coord.

int Math::IntPoint::y

Y coord.


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