class

Vector4

Inherits Reference < Object

Constructors

new(x : Float64, y : Float64, z : Float64, w : Float64)
Source

Class methods

point(x : Float64, y : Float64, z : Float64)
Source
vector(x : Float64, y : Float64, z : Float64)
Source
zero
Source

Instance methods

%(other)
Source
*(other : Float64)
Source
*(other : Vector4)
Source
+(other)
Source
-(other)
Source
/(other)
Source
==(other)

Returns false (other can only be a Value here).

Source
length
Source
norm
Source
point?
Source
vector?
Source