mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-05 02:55:38 +00:00
format everything
This commit is contained in:
@@ -62,9 +62,11 @@ void WitchModel::setupAnim(float time, float r, float bob, float yRot,
|
||||
nose->translateX = nose->translateY = nose->translateZ = 0;
|
||||
|
||||
float speed = 0.01f * (entity->entityId % 10);
|
||||
nose->xRot = (sin(entity->tickCount * speed) * 4.5f) * std::numbers::pi / 180;
|
||||
nose->xRot =
|
||||
(sin(entity->tickCount * speed) * 4.5f) * std::numbers::pi / 180;
|
||||
nose->yRot = 0;
|
||||
nose->zRot = (cos(entity->tickCount * speed) * 2.5f) * std::numbers::pi / 180;
|
||||
nose->zRot =
|
||||
(cos(entity->tickCount * speed) * 2.5f) * std::numbers::pi / 180;
|
||||
|
||||
if (holdingItem) {
|
||||
nose->xRot = -0.9f;
|
||||
|
||||
Reference in New Issue
Block a user