C# Class Glare.Plane4f

A Vector4f normal with a Single distance from origin.
显示文件 Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Distance System.Single
Normal Vector4f

Public Methods

Method Description
NormalizeInPlace ( ) : void

Normalize the Plane4f in place.

Plane4f ( System.Single normalX, System.Single normalY, System.Single normalZ, System.Single normalW, System.Single distance ) : System

Initialise the Plane4f.

Plane4f ( Vector4f normal, System.Single distance ) : System

Initialise the Plane4f.

Method Details

NormalizeInPlace() public method

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

Plane4f() public method

Initialise the Plane4f.
public Plane4f ( System.Single normalX, System.Single normalY, System.Single normalZ, System.Single normalW, System.Single distance ) : System
normalX System.Single
normalY System.Single
normalZ System.Single
normalW System.Single
distance System.Single
return System

Plane4f() public method

Initialise the Plane4f.
public Plane4f ( Vector4f normal, System.Single distance ) : System
normal Vector4f
distance System.Single
return System

Property Details

Distance public_oe property

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

Normal public_oe property

Get or set the direction of the Plane4f.
public Vector4f Normal
return Vector4f