C# Class Glare.Sphere3f

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

Public Properties

Property Type Description
Position Vector3f
Radius System.Single

Public Methods

Method Description
Sphere3f ( System.Single radius ) : System

Initialise a sphere centred at origin.

Sphere3f ( Vector3f position, System.Single radius ) : System

Initialise the Sphere3d.

Method Details

Sphere3f() public method

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

Sphere3f() public method

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

Property Details

Position public_oe property

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

Radius public_oe property

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