#include <Ultralight/Geometry.h>
|
vec2 | operator+ (vec2 lhs, const vec2 &rhs) |
|
vec2 | operator- (vec2 lhs, const vec2 &rhs) |
|
vec2 | operator* (vec2 lhs, const vec2 &rhs) |
|
vec2 | operator/ (vec2 lhs, const vec2 &rhs) |
|
vec2 | operator+ (vec2 lhs, float rhs) |
|
vec2 | operator- (vec2 lhs, float rhs) |
|
vec2 | operator* (vec2 lhs, float rhs) |
|
vec2 | operator/ (vec2 lhs, float rhs) |
|
bool | operator== (const vec2 &a, const vec2 &b) |
|
bool | operator!= (const vec2 &a, const vec2 &b) |
|
vec2 | min_ (const vec2 &a, const vec2 &b) |
|
vec2 | max_ (const vec2 &a, const vec2 &b) |
|
vec2 | clamp (const vec2 &x, const vec2 &minVal, const vec2 &maxVal) |
|
vec2 | mix (const vec2 &a, const vec2 &b, float t) |
|
float | length (const vec2 &a) |
|
float | length2 (const vec2 &a) |
|
float | distance (const vec2 &a, const vec2 &b) |
|
float | distance2 (const vec2 &a, const vec2 &b) |
|
vec2 | normalize (const vec2 &a) |
|
float | dot (const vec2 &a, const vec2 &b) |
|
◆ vec2() [1/3]
◆ vec2() [2/3]
vec2 |
( |
float | x, |
|
|
float | y ) |
|
inline |
◆ vec2() [3/3]
◆ operator*=() [1/2]
◆ operator*=() [2/2]
vec2 & operator*= |
( |
float | rhs | ) |
|
|
inline |
◆ operator+=() [1/2]
◆ operator+=() [2/2]
vec2 & operator+= |
( |
float | rhs | ) |
|
|
inline |
◆ operator-=() [1/2]
◆ operator-=() [2/2]
vec2 & operator-= |
( |
float | rhs | ) |
|
|
inline |
◆ operator/=() [1/2]
◆ operator/=() [2/2]
vec2 & operator/= |
( |
float | rhs | ) |
|
|
inline |
◆ xx()
◆ yx()
◆ yy()
◆ clamp
◆ distance
float distance |
( |
const vec2 & | a, |
|
|
const vec2 & | b ) |
|
friend |
◆ distance2
float distance2 |
( |
const vec2 & | a, |
|
|
const vec2 & | b ) |
|
friend |
◆ dot
float dot |
( |
const vec2 & | a, |
|
|
const vec2 & | b ) |
|
friend |
◆ length
float length |
( |
const vec2 & | a | ) |
|
|
friend |
◆ length2
float length2 |
( |
const vec2 & | a | ) |
|
|
friend |
◆ max_
◆ min_
◆ mix
◆ normalize
◆ operator!=
bool operator!= |
( |
const vec2 & | a, |
|
|
const vec2 & | b ) |
|
friend |
◆ operator* [1/2]
◆ operator* [2/2]
◆ operator+ [1/2]
◆ operator+ [2/2]
◆ operator- [1/2]
◆ operator- [2/2]
◆ operator/ [1/2]
◆ operator/ [2/2]
◆ operator==
bool operator== |
( |
const vec2 & | a, |
|
|
const vec2 & | b ) |
|
friend |
The documentation for this struct was generated from the following file: