Documentation

vec3

Class

A 3-dimensional vector.

Properties

Methods

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