chore: format Minecraft.Client

This commit is contained in:
Tropical
2026-03-13 17:10:10 -05:00
parent 33d0737d1d
commit e8424f2000
531 changed files with 67709 additions and 62690 deletions

View File

@@ -2,18 +2,17 @@
#include "CowModel.h"
#include "ModelPart.h"
CowModel::CowModel() : QuadrupedModel(12,0)
{
CowModel::CowModel() : QuadrupedModel(12, 0) {
head = new ModelPart(this, 0, 0);
head->addBox(-4, -4, -6, 8, 8, 6, 0); // Head
head->addBox(-4, -4, -6, 8, 8, 6, 0); // Head
head->setPos(0, 12 - 6 - 2, -8);
head->texOffs(22, 0)->addBox(-5, -5, -4, 1, 3, 1, 0); // Horn1
head->texOffs(22, 0)->addBox(+4, -5, -4, 1, 3, 1, 0); // Horn1
head->texOffs(22, 0)->addBox(-5, -5, -4, 1, 3, 1, 0); // Horn1
head->texOffs(22, 0)->addBox(+4, -5, -4, 1, 3, 1, 0); // Horn1
body = new ModelPart(this, 18, 4);
body->addBox(-6, -10, -7, 12, 18, 10, 0); // Body
body->addBox(-6, -10, -7, 12, 18, 10, 0); // Body
body->setPos(0, 11 + 6 - 12, 2);
body->texOffs(52, 0)->addBox(-2, 2, -8, 4, 6, 1);
body->texOffs(52, 0)->addBox(-2, 2, -8, 4, 6, 1);
leg0->x -= 1;
leg1->x += 1;
@@ -24,9 +23,10 @@ CowModel::CowModel() : QuadrupedModel(12,0)
leg2->z -= 1;
leg3->z -= 1;
this->zHeadOffs += 2;
this->zHeadOffs += 2;
// 4J added - compile now to avoid random performance hit first time cubes are rendered
head->compile(1.0f/16.0f);
body->compile(1.0f/16.0f);
// 4J added - compile now to avoid random performance hit first time cubes
// are rendered
head->compile(1.0f / 16.0f);
body->compile(1.0f / 16.0f);
}