Constructor

new (x:Float = 0, y:Float = 0, z:Float = 0, w:Float = 0)

Variables

read onlylength:Float

read onlylengthSquared:Float

w:Float

x:Float

y:Float

z:Float

Methods

copyFrom (sourceVector3D:Vector3D):Void

equals (toCompare:Vector3D, allFour:Bool = false):Bool

nearEquals (toCompare:Vector3D, tolerance:Float, allFour:Bool = false):Bool

negate ():Void

normalize ():Float

project ():Void

scaleBy (s:Float):Void

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

toString ():String

Static variables

staticread onlyX_AXIS:Vector3D

staticread onlyY_AXIS:Vector3D

staticread onlyZ_AXIS:Vector3D

Static methods

staticangleBetween (a:Vector3D, b:Vector3D):Float

staticdistance (pt1:Vector3D, pt2:Vector3D):Float