Vivid
|
Contains a 4D vector. More...
#include <Vec.h>
Public Member Functions | |
Vec4 (float x, float y, float z, float w) | |
Vec4 | operator* (float scalar) |
Vec4 | operator+ (Vec4 other) |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Contains a 4D vector.
Vec4 is a struct that contains a 4D vector. It contains x, y, z, and w values. This can be used for many purposes like position, color, etc. And supports many operations like addition, multiplication, etc.
|
inline |