vec4

A 4-dimensional vector.


A 4-dimensional vector.

Behaviors

vec4(const vec4&in)

vec4()

vec4(float x, float y, float z, float w)

~vec4()

Methods

vec4 opAdd(const vec4&in) const Operator obj + x

vec4& opAddAssign(const vec4&in) Operator obj += x

vec4 opDiv(const vec4&in) const Operator obj / x

vec4 opDiv(float) const Operator obj / x

vec4& opDivAssign(const vec4&in) Operator obj /= x

vec4& opDivAssign(float) Operator obj /= x

float opIndex() const Operator obj[x]

vec4 opMul(const vec4&in) const Operator obj * x

vec4 opMul(float) const Operator obj * x

vec4& opMulAssign(const vec4&in) Operator obj *= x

vec4& opMulAssign(float) Operator obj *= x

vec4 opSub(const vec4&in) const Operator obj - x

vec4& opSubAssign(const vec4&in) Operator obj -= x

float Length() const

float LengthSquared() const

vec4 Normalized() const

Properties

float x

float y

float z

float w