C# Class Reign.Core.BoundingBox2

Datei anzeigen Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Min Vector2
Zero BoundingBox2

Public Methods

Method Description
BoundingBox2 ( Vector2 min, Vector2 max ) : System
FromPoints ( IList points ) : BoundingBox2
Intersects ( BoundingBox2 boundingBox ) : bool
Intersects ( BoundingSphere2 boundingSphere ) : bool
Intersects ( BoundingBox2 &boundingBox1, BoundingBox2 &boundingBox2, bool &result ) : void
Intersects ( BoundingBox2 &boundingBox, BoundingSphere2 &boundingSphere, bool &result ) : void
Merge ( BoundingBox2 boundingBox2 ) : BoundingBox2
Merge ( BoundingBox2 &boundingBox1, BoundingBox2 &boundingBox2, BoundingBox2 &result ) : void

Method Details

BoundingBox2() public method

public BoundingBox2 ( Vector2 min, Vector2 max ) : System
min Vector2
max Vector2
return System

FromPoints() public static method

public static FromPoints ( IList points ) : BoundingBox2
points IList
return BoundingBox2

Intersects() public method

public Intersects ( BoundingBox2 boundingBox ) : bool
boundingBox BoundingBox2
return bool

Intersects() public method

public Intersects ( BoundingSphere2 boundingSphere ) : bool
boundingSphere BoundingSphere2
return bool

Intersects() public static method

public static Intersects ( BoundingBox2 &boundingBox1, BoundingBox2 &boundingBox2, bool &result ) : void
boundingBox1 BoundingBox2
boundingBox2 BoundingBox2
result bool
return void

Intersects() public static method

public static Intersects ( BoundingBox2 &boundingBox, BoundingSphere2 &boundingSphere, bool &result ) : void
boundingBox BoundingBox2
boundingSphere BoundingSphere2
result bool
return void

Merge() public method

public Merge ( BoundingBox2 boundingBox2 ) : BoundingBox2
boundingBox2 BoundingBox2
return BoundingBox2

Merge() public static method

public static Merge ( BoundingBox2 &boundingBox1, BoundingBox2 &boundingBox2, BoundingBox2 &result ) : void
boundingBox1 BoundingBox2
boundingBox2 BoundingBox2
result BoundingBox2
return void

Property Details

Min public_oe property

public Vector2 Min
return Vector2

Zero public_oe static_oe property

public static BoundingBox2,Reign.Core Zero
return BoundingBox2