Struct FloatAngle
- Namespace
- LiteEntitySystem.Extensions
- Assembly
- LiteEntitySystem.dll
Float angle in degress with correct interpolation and overlaps
public struct FloatAngleConstructors
FloatAngle(float)
public FloatAngle(float value)Parameters
- valuefloat
Fields
Deg2Rad
public const float Deg2Rad = 0.017453292Field Value
Degrees
public float DegreesField Value
PI
public const float PI = 3.1415927Field Value
Rad2Deg
public const float Rad2Deg = 57.29578Field Value
Properties
Normalized
public FloatAngle Normalized { get; }Property Value
Radians
public float Radians { get; }Property Value
Methods
Cos()
public float Cos()Returns
FromRadians(float)
public static FloatAngle FromRadians(float inputRotation)Parameters
- inputRotationfloat
Returns
Lerp(FloatAngle, FloatAngle, float)
public static FloatAngle Lerp(FloatAngle a, FloatAngle b, float t)Parameters
- aFloatAngle
- bFloatAngle
- tfloat
Returns
Normalize()
public void Normalize()Sin()
public float Sin()Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()Returns
- string
- The fully qualified type name. 
Operators
implicit operator float(FloatAngle)
public static implicit operator float(FloatAngle value)Parameters
- valueFloatAngle
Returns
implicit operator FloatAngle(float)
public static implicit operator FloatAngle(float degrees)Parameters
- degreesfloat