#include <vector2d.hxx>
Public Member Functions | |
| Vector2d () | |
| Vector2d (float x_, float y_) | |
| void | operator+= (const Vector2d &vec) |
| void | operator-= (const Vector2d &vec) |
| void | operator *= (float f) |
| Vector2d | operator+ (const Vector2d &vec) const |
| float | dot (const Vector2d &vec) const |
| Vector2d | operator- () const |
| Vector2d | operator- (const Vector2d &vec) const |
| Vector2d | operator * (float f) const |
| float | norm () const |
| void | normalize () |
Public Attributes | |
| float | x |
| float | y |
|
|
Definition at line 33 of file vector2d.hxx. Referenced by operator *(), operator+(), and operator-(). |
|
||||||||||||
|
Definition at line 37 of file vector2d.hxx. |
|
|
Definition at line 65 of file vector2d.hxx. Referenced by Spring::update(). |
|
|
Definition at line 85 of file vector2d.hxx. Referenced by Spring::draw(), World::draw_springs(), World::get_particle(), normalize(), Selection::rotate(), Spring::update(), and Particle::update(). |
|
|
Definition at line 91 of file vector2d.hxx. References norm(). Referenced by Spring::update(), and Particle::update(). |
|
|
Definition at line 80 of file vector2d.hxx. References Vector2d(). |
|
|
Definition at line 54 of file vector2d.hxx. |
|
|
Definition at line 60 of file vector2d.hxx. References Vector2d(), x, and y. |
|
|
Definition at line 42 of file vector2d.hxx. |
|
|
Definition at line 75 of file vector2d.hxx. References Vector2d(), x, and y. |
|
|
Definition at line 70 of file vector2d.hxx. References Vector2d(). |
|
|
Definition at line 48 of file vector2d.hxx. |
|
|
1.3-rc3