#include <vector.h>
Public Member Functions | |
| Vec2f () | |
| Write brief comment for Vec2f here. | |
| Vec2f (const Vec2f &) | |
| Write brief comment for Vec2f here. | |
| Vec2f (double) | |
| Write brief comment for Vec2f here. | |
| Vec2f (double, double) | |
| Write brief comment for Vec2f here. | |
| double | lengthsquared () const |
| Write brief comment for lengthsquared here. | |
| double | length () const |
| Write brief comment for length here. | |
| void | normalize () |
| Vec2f | normalized () const |
| Write brief comment for normalized here. | |
| Vec2f | cross (const Vec2f &) const |
| Write brief comment for cross here. | |
| Vec2f | operator= (const Vec2f &) |
| Write brief comment for operator = here. | |
| Vec2f | operator * (const Vec2f &) const |
| Write brief comment for operator * here. | |
| Vec2f | operator+ (const Vec2f &) const |
| Write brief comment for operator + here. | |
| Vec2f | operator- (const Vec2f &) const |
| Write brief comment for operator - here. | |
| Vec2f | operator * (double) const |
| Write brief comment for operator * here. | |
| Vec2f | operator/ (double) const |
| Write brief comment for operator / here. | |
Public Attributes | |
| float | x |
| float | y |
Write detailed description for Vec2f here.
| OpenArena::Vec2f::Vec2f | ( | ) |
| OpenArena::Vec2f::Vec2f | ( | const Vec2f & | ) |
| OpenArena::Vec2f::Vec2f | ( | double | ) |
| OpenArena::Vec2f::Vec2f | ( | double | , | |
| double | ||||
| ) |
Write brief comment for Vec2f here.
| Description | of parameter . | |
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
Write brief comment for cross here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
| double OpenArena::Vec2f::length | ( | ) | const |
Write brief comment for length here.
| <exception | class> Description of criteria for throwing this exception. |
| double OpenArena::Vec2f::lengthsquared | ( | ) | const |
Write brief comment for lengthsquared here.
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Vec2f::normalize | ( | ) |
| Vec2f OpenArena::Vec2f::normalized | ( | ) | const |
Write brief comment for normalized here.
| <exception | class> Description of criteria for throwing this exception. |
| Vec2f OpenArena::Vec2f::operator * | ( | double | ) | const |
Write brief comment for operator * here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
Write brief comment for operator * here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
Write brief comment for operator + here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
Write brief comment for operator - here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
| Vec2f OpenArena::Vec2f::operator/ | ( | double | ) | const |
Write brief comment for operator / here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
Write brief comment for operator = here.
| Description | of parameter . |
| <exception | class> Description of criteria for throwing this exception. |
| float OpenArena::Vec2f::x |
| float OpenArena::Vec2f::y |
1.4.7