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

inlineall():Void

inlineclone():Bounds

inlinecollide(b:Bounds):Bool

inlinecontains(p:Point):Bool

inlinecontainsBounds(b:Bounds):Bool

inlinecontainsSphere(s:Sphere):Bool

inlineempty():Void

inlinegetMax():Point

inlinegetMin():Point

inlinegetSize():Point

inlinegetVolume():Float

inlineinFrustum(f:Frustum, ?m:Matrix):Bool

@: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 interests 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

inlineinSphere(s:Sphere):Bool

inlineisEmpty():Bool

load(b:Bounds):Void

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

rayIntersection(r:Ray, bestMatch:Bool):Float

scaleCenter(v:Float):Void

inlinescalePivot(v:Float):Void

inlinesetMax(p:Point):Void

inlinesetMin(p:Point):Void

toString():String