Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Aura
Mabi
MabiMath
DegreeToByte
Aura.Mabi.MabiMath.DegreeToByte C# (CSharp) Метод
Документация по классу MabiMath
Показать файл
Открыть проект
DegreeToByte()
публичный
статический
Метод
Converts degree into Mabi's byte direction.
public
static
DegreeToByte
(
int
degree
) :
byte
degree
int
Результат
byte
public static byte DegreeToByte(int degree) { return (byte)(degree * 255 / 360); }
MabiMath
ByteToRadian
DegreeToByte
DegreeToRadian
DirectionToByte
DirectionToRadian
FoodStatBonus
GetNameColor
RadianToByte