MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / a

Method a

Minecraft-Utils/1.9.4/src/FaceBakery.java:21–35  ·  view source on GitHub ↗
(Vector3f vector1, Vector3f vector2, boe blockPartFace, cs enumFacing, bxm modelRotation, bof blockPartRotation, boolean b1, boolean b2)

Source from the content-addressed store, hash-verified

19 }
20
21 public boc a(Vector3f vector1, Vector3f vector2, boe blockPartFace, cs enumFacing, bxm modelRotation, bof blockPartRotation, boolean b1, boolean b2) {
22 int[] data = this.a(blockPartFace, enumFacing, this.a(vector1, vector2), modelRotation, blockPartRotation, b1, b2);
23 cs facing = a(data);
24 if (b1) {
25 this.a(data, facing, blockPartFace.e);
26 }
27
28 if (blockPartRotation == null) {
29 this.a(data, facing);
30 }
31
32 fillNormal(data);
33
34 return new boc(data, blockPartFace.c, facing, null);
35 }
36
37 private void fillNormal(int[] faceData) {
38 Vector3f v1 = new Vector3f(faceData[3 * 7 + 0], faceData[3 * 7 + 1], faceData[3 * 7 + 2]);

Callers 1

ConstantsClass · 0.45

Calls 9

fillNormalMethod · 0.95
bMethod · 0.95
setMethod · 0.65
scaleMethod · 0.65
addMethod · 0.45
transformMethod · 0.45
nMethod · 0.45
dMethod · 0.45
cMethod · 0.45

Tested by

no test coverage detected