3#include <lib/egg/math/eggMath.h>
4#include <lib/nw4r/math/vec.hpp>
19 void set(
float x,
float y) {
42 Vector3f(f32 fx, f32 fy, f32 fz) { set(fx, fy, fz); }
44 void set(
float x,
float y,
float z) {
A two-dimensional floating point vector.
Vector2f()
Constructs an empty vector.
float length() const
Gets the length of the vector.
float squaredLength() const
Gets the squared length of the vector.
Vector2f(f32 fx, f32 fy)
Constructs a vector from two floating point values.
A three-dimensional floating point vector.
Vector3f()
Constructs an empty vector.
Vector3f(f32 fx, f32 fy, f32 fz)
Constructs a vector from two floating point values.
A three-dimensional floating point vector.