#include <Vector2D.h>
◆ CVector2D() [1/3]
◆ CVector2D() [2/3]
CVector2D::CVector2D |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ CVector2D() [3/3]
CVector2D::CVector2D |
( |
const CSize2D & |
size | ) |
|
◆ AsFloatArray()
PS::span< const float > CVector2D::AsFloatArray |
( |
| ) |
const |
|
inline |
◆ Dot()
float CVector2D::Dot |
( |
const CVector2D & |
a | ) |
const |
|
inline |
◆ Length()
float CVector2D::Length |
( |
| ) |
const |
|
inline |
◆ LengthSquared()
float CVector2D::LengthSquared |
( |
| ) |
const |
|
inline |
◆ Normalize()
void CVector2D::Normalize |
( |
| ) |
|
|
inline |
◆ Normalized()
◆ operator const float *()
CVector2D::operator const float * |
( |
| ) |
const |
|
inline |
◆ operator float *()
CVector2D::operator float * |
( |
| ) |
|
|
inline |
◆ operator!=()
bool CVector2D::operator!= |
( |
const CVector2D & |
v | ) |
const |
◆ operator*()
CVector2D CVector2D::operator* |
( |
float |
f | ) |
const |
|
inline |
◆ operator*=()
◆ operator+() [1/2]
◆ operator+() [2/2]
◆ operator+=() [1/2]
void CVector2D::operator+= |
( |
const CSize2D & |
size | ) |
|
◆ operator+=() [2/2]
◆ operator-() [1/3]
◆ operator-() [2/3]
◆ operator-() [3/3]
◆ operator-=() [1/2]
void CVector2D::operator-= |
( |
const CSize2D & |
size | ) |
|
◆ operator-=() [2/2]
◆ operator/()
CVector2D CVector2D::operator/ |
( |
float |
f | ) |
const |
|
inline |
◆ operator/=()
◆ operator==()
bool CVector2D::operator== |
( |
const CVector2D & |
v | ) |
const |
◆ Rotate()
void CVector2D::Rotate |
( |
float |
angle | ) |
|
|
inline |
Rotates this vector counterclockwise by angle
radians.
◆ Rotated()
CVector2D CVector2D::Rotated |
( |
float |
angle | ) |
const |
|
inline |
Returns a version of this vector rotated counterclockwise by angle
radians.
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/maths/Vector2D.h
- /home/docker/jenkins/workspace/technical-docs/source/maths/Vector2D.cpp