C# Class Glare.Ray2

A Vector2 position with a Vector2d normal.
Exibir arquivo Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Normal Vector2d
Origin System.Vector2

Public Methods

Method Description
Ray2 ( System.Vector2 origin, Vector2d normal ) : System

Initialise the Ray2.

Method Details

Ray2() public method

Initialise the Ray2.
public Ray2 ( System.Vector2 origin, Vector2d normal ) : System
origin System.Vector2
normal Vector2d
return System

Property Details

Normal public_oe property

Get or set the direction of the Ray2.
public Vector2d Normal
return Vector2d

Origin public_oe property

Get or set the origin of the Ray2.
public Vector2,System Origin
return System.Vector2