-
Автор темы
- #1
most pasted hacks have <wrong / shit> normalize angle func
this is one perfect
and most hacks have shit and detected airstuck like ultrahack's shit i will publish code for perfect & undetected airstuck in next thread
HAVE FUN BY STORIQAX
L3D451R7 fix inso's pasted normalizer xD
this is one perfect
Код:
/*
TraitCore
storiqax
*/
float Normalize_Angle_Pitch(float angle)
{
if (angle < 0)
{
angle = -remainderf(angle, 180);
}
else
{
angle = remainderf(angle, 180);
}
if (angle == 90)
{
angle = 89;
}
else if (angle == -90)
{
angle = -89;
}
return angle;
}
float Normalize_Angle_Yaw(float angle)
{
if (angle < 0)
{
return -remainderf(angle, 360);
}
return remainderf(angle, 360);
}
HAVE FUN BY STORIQAX
L3D451R7 fix inso's pasted normalizer xD
Пожалуйста, зарегистрируйтесь или авторизуйтесь, чтобы увидеть содержимое.
Последнее редактирование: