A 4 floats vector. Everytime a Vector is returned, it means a copy is created.
@:value({ w : 1., z : 0., y : 0., x : 0. })inlinenew(x:Float = 0., y:Float = 0., z:Float = 0., w:Float = 1.)
a:Float
b:Float
g:Float
r:Float
w:Float
x:Float
y:Float
z:Float
inlineadd(v:Vector4):Vector4
inlineclone():Vector4
inlinecross(v:Vector4):Vector4
inlinedot3(v:Vector4):Float
inlinedot4(v:Vector4):Float
inlineequals(v:Vector4):Bool
inlinelerp(v1:Vector4, v2:Vector4, k:Float):Void
inlineload(v:Vector4):Void
@:value({ brightness : 0.5, saturation : 1. })makeColor(hue:Float, saturation:Float = 1., brightness:Float = 0.5):Void
inlineproject(m:Matrix):Void
inlinescale3(f:Float):Void
@:value({ w : 1., z : 0., y : 0., x : 0. })inlineset(x:Float = 0., y:Float = 0., z:Float = 0., w:Float = 1.):Void
inlinesetColor(c:Int):Void
inlinesub(v:Vector4):Vector4
inlinetoColor():Int
toColorHSL():Vector4
toColorHSV():Vector4
toString():String
inlinetoVector():Vector
inlinetransform(m:Matrix):Void
inlinetransform3x3(m:Matrix):Void
inlinetransform3x4(m:Matrix):Void
inlinetransformed(m:Matrix):Vector4
inlinetransformed3x3(m:Matrix):Vector4
inlinetransformed3x4(m:Matrix):Vector4