C# Class Glare.Sphere2f

A sphere definition, which has a position and radius.
Show file Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Position Vector2f
Radius System.Single

Public Methods

Method Description
Sphere2f ( System.Single radius ) : System

Initialise a sphere centred at origin.

Sphere2f ( Vector2f position, System.Single radius ) : System

Initialise the Sphere3d.

Method Details

Sphere2f() public method

Initialise a sphere centred at origin.
public Sphere2f ( System.Single radius ) : System
radius System.Single The radius of the .
return System

Sphere2f() public method

Initialise the Sphere3d.
public Sphere2f ( Vector2f position, System.Single radius ) : System
position Vector2f The centre of the .
radius System.Single The radius of the .
return System

Property Details

Position public property

Get or set the centre of the Sphere3d.
public Vector2f Position
return Vector2f

Radius public property

Get or set the radius of the Sphere3d.
public Single,System Radius
return System.Single