C# Class Nez.Ray2D

while technically not a ray (rays are just start and direction) it does double duty as both a line and a ray.
Exibir arquivo Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
direction Vector2
end Vector2
start Vector2

Public Methods

Method Description
Ray2D ( Vector2 position, Vector2 end ) : System

Method Details

Ray2D() public method

public Ray2D ( Vector2 position, Vector2 end ) : System
position Vector2
end Vector2
return System

Property Details

direction public_oe property

public Vector2 direction
return Vector2

end public_oe property

public Vector2 end
return Vector2

start public_oe property

public Vector2 start
return Vector2