struct

Shale::Vector4(T)

Inherits Struct < Value < Object

Constructors

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

Instance methods

*(other : self) : self
Source
*(value : Number) : self
Source
+(other : self) : self
Source
+(value : Number) : self
Source
-(other : self) : self
Source
-(value : Number) : self
Source
/(other : self) : self
Source
/(value : Number) : self
Source
==(other : self) : Bool
Source
cross(other : self) : self
Source
dot(other : self) : Float
Source
lerp(other : self, factor : Float32) : self
Source
normalized
Source

Macros

[](*args)
Source