▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Better `rsqrt`
Better `rsqrt`

Better `rsqrt`

Replaces the constants Minecraft uses for their functions for calculating the reciprocal square root (aka rsqrt) with more accurate alternatives

Оцените первым
521
6

Better rsqrt

N.B.: The accuracy benefits of this is negligible at best, so don't expect anything big to happen. This is created purely because I want to, and I can.

Tested to work every version since 1.14 (v1.0.1)

Replaces the constant Minecraft uses in their fast reciprocal square root (also known as InvSqrt or rsqrt) functions, to yield better accuracy:

FunctionOriginal ValueMore Accurate™ Value
fastInverseSqrt(float)0x5f3759df0x5f375a86
fastInverseSqrt(double)0x5fe6eb50c7b537aa0x5fe6eb50c7b537a9

Since Minecraft only use these functions in rendering, this "fix" should not affect world generation or other functions that rely on the vanilla result to yield expected results.

References

Both accessed on June 13th, 2021:

  • Lomont, C. (2003). Fast Inverse Square Root
  • Robertson, M. (2012). A Brief History of InvSqrt
Партнёрский материал

Как поиграть с друзьями с модом Better `rsqrt`?

Мод Better `rsqrt` куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Better `rsqrt` будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

21w03a1.17.x1.16.x1.15.x1.14.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:5 лет назад
Обновлён:5 лет назад
Главная