111 bool operator==(
const Vec3f& rhs);
float InvSQRT(float x)
returns the inverse square root of a float
Definition Utils.cpp:69
Vec2f Rotate(Vec2f v, float angle)
Rotates a 2D vector by an angle.
Definition Utils.cpp:50
A color struct with 4 components: RGBA.
Definition Utils.hpp:117
A 2D vector struct with overloaded operators.
Definition Utils.hpp:38
Vec2f operator+(const Vec2f &rhs)
Add two Vec2f objects together.
Definition Utils.cpp:14
Vec2f operator*(const float &rhs)
Compute scalar multiplication.
Definition Utils.cpp:18
A 3D vector struct with overloaded operators.
Definition Utils.hpp:86
Vec3f operator*(const float &rhs)
Compute scalar multiplication.
Definition Utils.cpp:32
Vec3f operator+(const Vec3f &rhs)
Adds two Vec3f objects.
Definition Utils.cpp:28
float lengthSquared()
Returns the length of the vector.
Definition Utils.cpp:40