Struct FloatAngle
Float angle in degress with correct interpolation and overlaps
Assembly: LiteEntitySystem.dll
Syntax
Constructors
FloatAngle(float)
Declaration
public FloatAngle(float value)
Parameters
Type |
Name |
Description |
float |
value |
|
Fields
Deg2Rad
Declaration
public const float Deg2Rad = 0.017453292
Field Value
Degrees
Declaration
Field Value
PI
Declaration
public const float PI = 3.1415927
Field Value
Rad2Deg
Declaration
public const float Rad2Deg = 57.29578
Field Value
Properties
Normalized
Declaration
public FloatAngle Normalized { get; }
Property Value
Radians
Declaration
public float Radians { get; }
Property Value
Methods
Cos()
Declaration
Returns
FromRadians(float)
Declaration
public static FloatAngle FromRadians(float inputRotation)
Parameters
Type |
Name |
Description |
float |
inputRotation |
|
Returns
Lerp(FloatAngle, FloatAngle, float)
Declaration
public static FloatAngle Lerp(FloatAngle a, FloatAngle b, float t)
Parameters
Returns
Normalize()
Declaration
Sin()
Declaration
Returns
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
The fully qualified type name.
|
Overrides
Operators
implicit operator float(FloatAngle)
Declaration
public static implicit operator float(FloatAngle value)
Parameters
Returns
implicit operator FloatAngle(float)
Declaration
public static implicit operator FloatAngle(float degrees)
Parameters
Type |
Name |
Description |
float |
degrees |
|
Returns