Skip to content

Commit

Permalink
stupid spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchej123 committed Feb 15, 2024
1 parent f2898a5 commit dcce0d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/remoteio/client/render/TessellatorCapture.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static void reset() {
}

private static ThreadLocal<double[]> rotationPoint = ThreadLocal.withInitial(() -> new double[3]);

public static double[] rotatePoint(double x, double y, double z) {
if (capture) {
final double radians = Math.toRadians(rotationAngle);
Expand All @@ -49,6 +50,7 @@ public static double[] rotatePointWithOffset(double x, double y, double z) {
}

private static ThreadLocal<double[]> rotationPointOffset = ThreadLocal.withInitial(() -> new double[3]);

public static double[] rotatePointWithOffset(double x, double y, double z, double offsetX, double offsetY,
double offsetZ) {
if (capture) {
Expand Down

0 comments on commit dcce0d8

Please sign in to comment.