common::VEC2 Struct Reference
[Math ModuleWektor floatów 2D, 3D, 4D]

Wektor floatów 2D. More...

#include <Math.hpp>

List of all members.

Public Member Functions

 VEC2 ()
 VEC2 (float x, float y)
 VEC2 (const float *Array)
 operator float * ()
 operator const float * () const
bool operator== (const VEC2 &v) const
bool operator!= (const VEC2 &v) const
VEC2 operator+ () const
VEC2 operator- () const
VEC2 operator+ (const VEC2 &v) const
VEC2 operator- (const VEC2 &v) const
VEC2operator+= (const VEC2 &v)
VEC2operator-= (const VEC2 &v)
VEC2operator*= (float v)
VEC2operator/= (float v)

Public Attributes

float x
float y

Detailed Description

Wektor floatów 2D.

Constructor & Destructor Documentation

common::VEC2::VEC2 (  )  [inline]
common::VEC2::VEC2 ( float  x,
float  y 
) [inline]
common::VEC2::VEC2 ( const float *  Array  )  [inline]

Member Function Documentation

common::VEC2::operator const float * (  )  const [inline]
common::VEC2::operator float * (  )  [inline]
bool common::VEC2::operator!= ( const VEC2 v  )  const [inline]
VEC2& common::VEC2::operator*= ( float  v  )  [inline]
VEC2 common::VEC2::operator+ ( const VEC2 v  )  const [inline]
VEC2 common::VEC2::operator+ (  )  const [inline]
VEC2& common::VEC2::operator+= ( const VEC2 v  )  [inline]
VEC2 common::VEC2::operator- ( const VEC2 v  )  const [inline]
VEC2 common::VEC2::operator- (  )  const [inline]
VEC2& common::VEC2::operator-= ( const VEC2 v  )  [inline]
VEC2& common::VEC2::operator/= ( float  v  )  [inline]
bool common::VEC2::operator== ( const VEC2 v  )  const [inline]

Member Data Documentation

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

Generated on Wed Dec 16 20:44:55 2009 for CommonLib by  doxygen 1.6.1