Contains the Vector2 class. More...
#include <cmath>
#include <ostream>
Classes | |
class | RVO::Vector2 |
Defines a two-dimensional vector. More... | |
Namespaces | |
namespace | RVO |
Contains all classes, functions, and constants used in the library. | |
Functions | |
float | RVO::abs (const Vector2 &vector) |
Computes the length of a specified two-dimensional vector. | |
float | RVO::absSq (const Vector2 &vector) |
Computes the squared length of a specified two-dimensional vector. | |
float | RVO::det (const Vector2 &vector1, const Vector2 &vector2) |
Computes the determinant of a two-dimensional square matrix with rows consisting of the specified two-dimensional vectors. | |
Vector2 | RVO::normalize (const Vector2 &vector) |
Computes the normalization of the specified two-dimensional vector. | |
Vector2 | RVO::operator* (float s, const Vector2 &vector) |
Computes the scalar multiplication of the specified two-dimensional vector with the specified scalar value. | |
std::ostream & | RVO::operator<< (std::ostream &os, const Vector2 &vector) |
Inserts the specified two-dimensional vector into the specified output stream. |
Contains the Vector2 class.