C# Class BeardedManStudios.Network.BeardedMath

A class that is to be extended to support math models that are not currently available in any currently available libraries
Mostra file Open project: drakelinglabs/unityarmada Class Usage Examples

Public Methods

Method Description
IsNumber ( object obj ) : bool

Used to determine if a specified object is a number type

Lerp ( double a0, double a1, float t ) : double

Precise method which guarantees v = v1 when t = 1, Mathf doesn't support doubles so this one will

Method Details

IsNumber() public static method

Used to determine if a specified object is a number type
public static IsNumber ( object obj ) : bool
obj object The object to evaluate if it is a number
return bool

Lerp() public static method

Precise method which guarantees v = v1 when t = 1, Mathf doesn't support doubles so this one will
public static Lerp ( double a0, double a1, float t ) : double
a0 double
a1 double
t float
return double