C# Класс BeardedManStudios.Network.BeardedMath

A class that is to be extended to support math models that are not currently available in any currently available libraries
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

IsNumber() публичный статический Метод

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
Результат bool

Lerp() публичный статический Метод

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
Результат double