class lime.math.Vector4

Class Fields

static var X_AXIS:Vector4

static var Y_AXIS:Vector4

static var Z_AXIS:Vector4

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

static function distance(pt1:Vector4, pt2:Vector4): 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:Vector4): Vector4

function clone(): Vector4

function copyFrom(sourceVector4:Vector4): Void

function decrementBy(a:Vector4): Void

function dotProduct(a:Vector4): Float

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

function incrementBy(a:Vector4): Void

function nearEquals(toCompare:Vector4, 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 subtract(a:Vector4): Vector4

function toString(): String