#include <vector2.h>
◆ Vector2() [1/4]
◆ Vector2() [2/4]
| Vector2::Vector2 |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
◆ Vector2() [3/4]
| Vector2::Vector2 |
( |
float |
v | ) |
|
◆ Vector2() [4/4]
| Vector2::Vector2 |
( |
const glm::vec2 & |
v | ) |
|
◆ abs()
◆ angle()
| float Vector2::angle |
( |
| ) |
const |
◆ angle_to()
| float Vector2::angle_to |
( |
const Vector2 & |
other | ) |
const |
◆ ceil()
◆ distance_to()
| float Vector2::distance_to |
( |
const Vector2 & |
other | ) |
const |
◆ dot()
| float Vector2::dot |
( |
const Vector2 & |
other | ) |
const |
◆ floor()
◆ is_zero_approx()
| bool Vector2::is_zero_approx |
( |
| ) |
const |
◆ length()
| float Vector2::length |
( |
| ) |
const |
◆ lerp()
◆ normalize()
| void Vector2::normalize |
( |
| ) |
|
◆ normalized()
| Vector2 Vector2::normalized |
( |
| ) |
const |
◆ operator[]() [1/2]
| float & Vector2::operator[] |
( |
int |
index | ) |
|
◆ operator[]() [2/2]
| const float & Vector2::operator[] |
( |
int |
index | ) |
const |
◆ reflect()
◆ refract()
◆ rotated()
| Vector2 Vector2::rotated |
( |
float |
angle | ) |
const |
◆ round()
◆ sign()
◆ DOWN
◆ LEFT
◆ ONE
◆ RIGHT
◆ UP
◆ ZERO
The documentation for this class was generated from the following files: