AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzIVec2 Class Reference

#include <CzIVec2.h>

List of all members.

Public Member Functions

 CzIVec2 ()
 CzIVec2 (int x, int y)
void Set (int n)
void Add (CzIVec2 const &v)
void Add (int v)
void Zero ()
void One ()
void Sub (CzIVec2 const &v)
void Sub (int v)
void Invert ()
void Mul (CzIVec2 const &v)
void Mul (int v)
int Dot (CzIVec2 const &v) const
void Clamp (CzIVec2 const &clamp)
int Mag () const
int MagSquared () const
bool operator== (CzIVec2 const &v) const
bool operator!= (CzIVec2 const &v) const
CzIVec2 operator+ (CzIVec2 const &v) const
CzIVec2operator+= (CzIVec2 const &v)
CzIVec2 operator- (CzIVec2 const &v) const
CzIVec2operator-= (CzIVec2 const &v)
CzIVec2 operator* (CzIVec2 const &v) const
CzIVec2operator*= (CzIVec2 const &v)
CzIVec2 operator* (int n) const
CzIVec2operator*= (int n)
CzVec2 toVec2 () const
CzSVec2 toSVec2 () const
CzVec3 toVec3 () const

Public Attributes

int x
int y

Constructor & Destructor Documentation

CzIVec2::CzIVec2 ( int  x,
int  y 
)

Member Function Documentation

void CzIVec2::Add ( CzIVec2 const &  v)
void CzIVec2::Add ( int  v)
void CzIVec2::Clamp ( CzIVec2 const &  clamp)
int CzIVec2::Dot ( CzIVec2 const &  v) const
void CzIVec2::Invert ( )
int CzIVec2::Mag ( ) const
int CzIVec2::MagSquared ( ) const
void CzIVec2::Mul ( CzIVec2 const &  v)
void CzIVec2::Mul ( int  v)
void CzIVec2::One ( )
bool CzIVec2::operator!= ( CzIVec2 const &  v) const
CzIVec2 CzIVec2::operator* ( CzIVec2 const &  v) const
CzIVec2 CzIVec2::operator* ( int  n) const
CzIVec2 & CzIVec2::operator*= ( CzIVec2 const &  v)
CzIVec2 & CzIVec2::operator*= ( int  n)
CzIVec2 CzIVec2::operator+ ( CzIVec2 const &  v) const
CzIVec2 & CzIVec2::operator+= ( CzIVec2 const &  v)
CzIVec2 CzIVec2::operator- ( CzIVec2 const &  v) const
CzIVec2 & CzIVec2::operator-= ( CzIVec2 const &  v)
bool CzIVec2::operator== ( CzIVec2 const &  v) const
void CzIVec2::Set ( int  n)
void CzIVec2::Sub ( CzIVec2 const &  v)
void CzIVec2::Sub ( int  v)
void CzIVec2::Zero ( )

Member Data Documentation


The documentation for this class was generated from the following files: