Documentation

vec2

Class

A 2-dimensional vector.

Properties

Methods

Operator obj[x]
Returns float
Operator obj + x
Returns vec2
Operator obj - x
Returns vec2
Operator obj * x
Returns vec2
Operator obj / x
Returns vec2
Operator obj + x
Returns vec2
Operator obj - x
Returns vec2
Operator obj * x
Returns vec2
Operator obj / x
Returns vec2
Operator x + obj
Returns vec2
Operator x - obj
Returns vec2
Operator x * obj
Returns vec2
Operator x / obj
Returns vec2
Operator obj += x
Returns vec2
Operator obj -= x
Returns vec2
Operator obj *= x
Returns vec2
Operator obj /= x
Returns vec2
Operator obj += x
Returns vec2
Operator obj -= x
Returns vec2
Operator obj *= x
Returns vec2
Operator obj /= x
Returns vec2
Operator obj == x, obj != x
Returns bool
Returns float