C# Class KerbalEngineer.Helpers.AngleHelper

Mostra file Open project: CYBUTEK/KerbalEngineer

Public Methods

Method Description
Clamp180 ( double angle ) : double
Clamp360 ( double angle ) : double
ClampBetween ( double value, double minimum, double maximum ) : double
GetAngleBetweenVectors ( UnityEngine.Vector3d left, UnityEngine.Vector3d right ) : double

Method Details

Clamp180() public static method

public static Clamp180 ( double angle ) : double
angle double
return double

Clamp360() public static method

public static Clamp360 ( double angle ) : double
angle double
return double

ClampBetween() public static method

public static ClampBetween ( double value, double minimum, double maximum ) : double
value double
minimum double
maximum double
return double

GetAngleBetweenVectors() public static method

public static GetAngleBetweenVectors ( UnityEngine.Vector3d left, UnityEngine.Vector3d right ) : double
left UnityEngine.Vector3d
right UnityEngine.Vector3d
return double