C# Class Glare.Sphere4f

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

Public Properties

Property Type Description
Position Vector4f
Radius System.Single

Public Methods

Method Description
Sphere4f ( System.Single radius ) : System

Initialise a sphere centred at origin.

Sphere4f ( Vector4f position, System.Single radius ) : System

Initialise the Sphere3d.

Method Details

Sphere4f() public method

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

Sphere4f() public method

Initialise the Sphere3d.
public Sphere4f ( Vector4f position, System.Single radius ) : System
position Vector4f 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 Vector4f Position
return Vector4f

Radius public property

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