Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vector2.inl File Reference

Go to the source code of this file.

Functions

Vector2 operator+ (const Vector2 &lhs, const Vector2 &rhs)
 Basic operations.

Vector2 operator- (const Vector2 &lhs, const Vector2 &rhs)
Vector2 operator- (const Vector2 &v)
Vector2 operator * (const Vector2 &lhs, Real rhs)
Vector2 operator * (Real lhs, const Vector2 &rhs)
Vector2 operator/ (const Vector2 &lhs, Real rhs)
Vector2 & operator+= (Vector2 &lhs, const Vector2 &rhs)
Vector2 & operator-= (Vector2 &lhs, const Vector2 &rhs)
Vector2 & operator *= (Vector2 &lhs, Real rhs)
Vector2 & operator/= (Vector2 &lhs, Real rhs)
Real operator * (const Vector2 &lhs, const Vector2 &rhs)
 Dot product.


Function Documentation

Real operator * const Vector2 &  lhs,
const Vector2 &  rhs
[inline]
 

Dot product.

Definition at line 167 of file vector2.inl.

Vector2 operator * Real  lhs,
const Vector2 &  rhs
[inline]
 

Definition at line 121 of file vector2.inl.

Vector2 operator * const Vector2 &  lhs,
Real  rhs
[inline]
 

Definition at line 114 of file vector2.inl.

Vector2& operator *= Vector2 &  lhs,
Real  rhs
[inline]
 

Definition at line 151 of file vector2.inl.

References sheep::Point2::m_x.

Vector2 operator+ const Vector2 &  lhs,
const Vector2 &  rhs
[inline]
 

Basic operations.

Definition at line 95 of file vector2.inl.

Vector2& operator+= Vector2 &  lhs,
const Vector2 &  rhs
[inline]
 

Definition at line 135 of file vector2.inl.

References sheep::Point2::m_x.

Vector2 operator- const Vector2 &  v  )  [inline]
 

Definition at line 109 of file vector2.inl.

Vector2 operator- const Vector2 &  lhs,
const Vector2 &  rhs
[inline]
 

Definition at line 102 of file vector2.inl.

Vector2& operator-= Vector2 &  lhs,
const Vector2 &  rhs
[inline]
 

Definition at line 143 of file vector2.inl.

References sheep::Point2::m_x.

Vector2 operator/ const Vector2 &  lhs,
Real  rhs
[inline]
 

Definition at line 128 of file vector2.inl.

Vector2& operator/= Vector2 &  lhs,
Real  rhs
[inline]
 

Definition at line 159 of file vector2.inl.

References sheep::Point2::m_x.


Generated on Tue May 11 01:31:53 2004 for toxic by doxygen 1.3.6