Documentation

vec4

Class

A 4-dimensional vector.

Methods

Operator obj[x]
Returns float
Operator obj + x
Returns vec4
Operator obj - x
Returns vec4
Operator obj * x
Returns vec4
Operator obj / x
Returns vec4
Operator obj + x
Returns vec4
Operator obj - x
Returns vec4
Operator obj * x
Returns vec4
Operator obj / x
Returns vec4
Operator x + obj
Returns vec4
Operator x - obj
Returns vec4
Operator x * obj
Returns vec4
Operator x / obj
Returns vec4
Operator obj += x
Returns vec4
Operator obj -= x
Returns vec4
Operator obj *= x
Returns vec4
Operator obj /= x
Returns vec4
Operator obj += x
Returns vec4
Operator obj -= x
Returns vec4
Operator obj *= x
Returns vec4
Operator obj /= x
Returns vec4
Operator obj == x, obj != x
Returns bool
Returns float
Property obj.xy
Returns vec2
Property obj.xyz
Returns vec3
Property obj.yz
Returns vec2
Property obj.yzw
Returns vec3
Property obj.zw
Returns vec2