36 mplier = 1.0f / mplier;
50 mplier = 1.0f / mplier;
69 j = float(
sin(theta)) *
i;
70 i *= float(
cos(theta));
Vector2f(const bool °enerate_=false)
The best way to create a Vector3f.
void set_spherical(const float &theta, const float &magnitude=1)
Set the vector using spherical coordinates.
std::istream & unserialize(std::istream &is, Color &value)
std::ostream & serialize(std::ostream &os, const Color &value)
const float pi
pi == 3.1415926...
Vector2f normalized() const
Get the normalized vector.
float magnitude() const
Get the magnitude of the vector.
const float pi_over_two
pi/23
EGLSurface EGLint void ** value
Vector2f & normalize()
Normalize the vector.
const float three_pi_over_two
3*pi/2
float theta() const
theta == radians north of vector i