#include <vector.h>
Public Member Functions | |
vec4 () | |
vec4 (float x, float y, float z, float w) | |
float | magnitude () |
vec4 & | normalize () |
vec4 & | operator*= (const float scalar) |
vec4 & | operator+= (const vec4 &vec) |
vec4 & | operator+= (const float scalar) |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
vec4::vec4 | ( | ) |
vec4::vec4 | ( | float | x, |
float | y, | ||
float | z, | ||
float | w | ||
) |
float vec4::magnitude | ( | ) |
vec4 & vec4::normalize | ( | ) |
vec4 & vec4::operator*= | ( | const float | scalar | ) |
vec4 & vec4::operator+= | ( | const float | scalar | ) |
float vec4::w |
float vec4::x |
float vec4::y |
float vec4::z |