Constructor

@:value({ w : 0., z : 0., y : 0., x : 0. })new(x:Float = 0., y:Float = 0., z:Float = 0., w:Float = 0.)

Variables

Methods

inlineclone():Vector4

inlinecopyFrom(sourceVector4:Vector4):Void

@:value({ allFour : false })inlineequals(toCompare:Vector4, allFour:Bool = false):Bool

@:value({ allFour : false })inlinenearEquals(toCompare:Vector4, tolerance:Float, allFour:Bool = false):Bool

inlinenegate():Void

inlineproject():Void

inlinescaleBy(s:Float):Void

inlinesetTo(xa:Float, ya:Float, za:Float):Void

Static variables

staticread onlyX_AXIS:Vector4

staticread onlyY_AXIS:Vector4

staticread onlyZ_AXIS:Vector4

Static methods

staticinlineangleBetween(a:Vector4, b:Vector4):Float

staticinlinedistance(pt1:Vector4, pt2:Vector4):Float