#include <vec3d.h>
Vec2D::Vec2D |
( |
float |
x0 = 0.0f , |
|
|
float |
y0 = 0.0f |
|
) |
| |
|
inline |
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float Vec2D::length |
( |
| ) |
const |
|
inline |
212 return std::sqrt(
x*
x+
y*
y);
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float Vec2D::lengthSquared |
( |
| ) |
const |
|
inline |
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
Vec2D& Vec2D::normalize |
( |
| ) |
|
|
inline |
float length() const
Definition: vec3d.h:210
Vec2D & operator*=(float d)
Definition: vec3d.h:198
Vec2D::operator float * |
( |
| ) |
|
|
inline |
170 return x*v.
x +
y*v.
y;
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
Vec2D Vec2D::operator* |
( |
float |
d | ) |
const |
|
inline |
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
Vec2D& Vec2D::operator*= |
( |
float |
d | ) |
|
|
inline |
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
Vec2D Vec2D::operator~ |
( |
| ) |
const |
|
inline |
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
Vec2D & |
v |
|
) |
| |
|
friend |
float x
Definition: vec3d.h:144
float y
Definition: vec3d.h:144
The documentation for this class was generated from the following file: