C# Class Glare.Plane2f

A Vector2f normal with a Single distance from origin.
Show file Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Distance System.Single
Normal Vector2f

Public Methods

Method Description
NormalizeInPlace ( ) : void

Normalize the Plane2f in place.

Plane2f ( System.Single normalX, System.Single normalY, System.Single distance ) : System

Initialise the Plane2f.

Plane2f ( Vector2f normal, System.Single distance ) : System

Initialise the Plane2f.

Method Details

NormalizeInPlace() public method

Normalize the Plane2f in place.
public NormalizeInPlace ( ) : void
return void

Plane2f() public method

Initialise the Plane2f.
public Plane2f ( System.Single normalX, System.Single normalY, System.Single distance ) : System
normalX System.Single
normalY System.Single
distance System.Single
return System

Plane2f() public method

Initialise the Plane2f.
public Plane2f ( Vector2f normal, System.Single distance ) : System
normal Vector2f
distance System.Single
return System

Property Details

Distance public property

Get or set the distance from origin.
public Single,System Distance
return System.Single

Normal public property

Get or set the direction of the Plane2f.
public Vector2f Normal
return Vector2f