#include <Vec.h>
◆ Vec2() [1/2]
◆ Vec2() [2/2]
◆ length()
template<class T >
| T Vec2< T >::length |
( |
| ) |
const |
|
inline |
◆ lengthSqr()
template<class T >
| auto Vec2< T >::lengthSqr |
( |
| ) |
const |
|
inline |
◆ operator+=()
◆ operator-=()
◆ toFloat()
template<class T >
| Vec2< float > Vec2< T >::toFloat |
( |
| ) |
const |
|
inline |
◆ toInt()
◆ dot
template<class T >
| T dot |
( |
const Vec2< T > & |
l, |
|
|
const Vec2< T > & |
r |
|
) |
| |
|
friend |
◆ operator* [1/2]
template<class T >
| Vec2 operator* |
( |
const Vec2< T > & |
l, |
|
|
T |
r |
|
) |
| |
|
friend |
◆ operator* [2/2]
template<class T >
| Vec2 operator* |
( |
T |
l, |
|
|
const Vec2< T > & |
r |
|
) |
| |
|
friend |
◆ operator+
◆ operator- [1/2]
◆ operator- [2/2]
◆ operator/
template<class T >
| Vec2 operator/ |
( |
const Vec2< T > & |
l, |
|
|
T |
r |
|
) |
| |
|
friend |
◆ operator==
template<class T >
| bool operator== |
( |
const Vec2< T > & |
, |
|
|
const Vec2< T > & |
|
|
) |
| |
|
friend |
The documentation for this struct was generated from the following file:
- src/Library/Geometry/Vec.h