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

Methods

inlineadd(b:Bounds):Void

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

inlineall():Void

inlineclone():Bounds

inlineempty():Void

inlinegetMax():Point

inlinegetMin():Point

inlinegetSize():Point

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

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

inlinesetMax(p:Point):Void

inlinesetMin(p:Point):Void