Static methods

staticinlinefromPoints(min:Point, max:Point):Bounds

staticinlinefromValues(x:Float, y:Float, z:Float, dx:Float, dy:Float, dz:Float):Bounds

Constructor

inlinenew()

Variables

xMax:Float

xMin:Float

xSize:Float

yMax:Float

yMin:Float

ySize:Float

zMax:Float

zMin:Float

zSize:Float

Methods

inlineadd(b:Bounds):Void

inlineaddPoint(p:Point):Void

inlineaddPos(x:Float, y:Float, z:Float):Void

inlineaddSphere(s:Sphere):Void

inlineaddSpherePos(x:Float, y:Float, z:Float, r:Float):Void

inlineaddTransform(b:Bounds, m:Matrix):Void

inlineall():Void

inlineclone():Bounds

inlinecollide(b:Bounds):Bool

inlinecontainsBounds(b:Bounds):Bool

inlinecontainsSphere(s:Sphere):Bool

inlineempty():Void

inlinegetMax():Vector

inlinegetMin():Vector

inlinegetSize():Vector

inlinegetVolume():Float

@:value({ checkZ : true })inFrustumDetails(mvp:Matrix, checkZ:Bool = true):Int

Check if the camera model-view-projection Matrix intersects with the Bounds. Returns -1 if outside, 0 if intersects and 1 if fully inside.

Parameters:

mvp

: the model-view-projection matrix to test against

checkZ

: tells if we will check against the near/far plane

inlineisEmpty():Bool

load(b:Bounds):Void

inlineoffset(dx:Float, dy:Float, dz:Float):Void

scaleCenter(v:Float):Void

inlinescalePivot(v:Float):Void

inlinesetMax(p:Point):Void

inlinesetMin(p:Point):Void

toString():String

Inherited Variables

Inherited Methods