class openfl.geom.Vector3D

Class Fields

static var X_AXIS:Vector3D

static var Y_AXIS:Vector3D

static var Z_AXIS:Vector3D

static function angleBetween(a:Vector3D, b:Vector3D): Float

static function distance(pt1:Vector3D, pt2:Vector3D): Float

Instance Fields

var w:Float

var x:Float

var y:Float

var z:Float

function new(?x:Float, ?y:Float, ?z:Float, ?w:Float): Void

function add(a:Vector3D): Vector3D

function clone(): Vector3D

function copyFrom(sourceVector3D:Vector3D): Void

function equals(toCompare:Vector3D, ?allFour:Bool): Bool

function nearEquals(toCompare:Vector3D, tolerance:Float, ?allFour:Bool): Bool

function negate(): Void

function normalize(): Float

function project(): Void

function scaleBy(s:Float): Void

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

function toString(): String