C# Class Reign.Core.BoundingSphere2

显示文件 Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Center Vector2
Radius float

Public Methods

Method Description
BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
Intersects ( BoundingBox2 boundingBox ) : bool
Intersects ( BoundingSphere2 &boundingSphere, BoundingBox2 &boundingBox, bool &result ) : void

Method Details

BoundingSphere2() public method

public BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
center Vector2
radius float
return System.Runtime.InteropServices

Intersects() public method

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

Intersects() public static method

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

Property Details

Center public_oe property

public Vector2,Reign.Core Center
return Vector2

Radius public_oe property

public float Radius
return float