From 10d095d6567fdee1abf0743695724edd5e1ec1c7 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Mon, 4 Jan 2016 22:46:24 -0600 Subject: [PATCH] Finish pure daisy integration --- .../jei/petalapothecary/PetalApothecaryRecipeCategory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/client/integration/jei/petalapothecary/PetalApothecaryRecipeCategory.java b/src/main/java/vazkii/botania/client/integration/jei/petalapothecary/PetalApothecaryRecipeCategory.java index d3ad4298f..3c3adb9e0 100644 --- a/src/main/java/vazkii/botania/client/integration/jei/petalapothecary/PetalApothecaryRecipeCategory.java +++ b/src/main/java/vazkii/botania/client/integration/jei/petalapothecary/PetalApothecaryRecipeCategory.java @@ -94,7 +94,7 @@ public class PetalApothecaryRecipeCategory implements IRecipeCategory { private Point rotatePointAbout(Point in, Point about, double degrees) { double rad = degrees * Math.PI / 180.0; double newX = Math.cos(rad) * (in.x - about.x) - Math.sin(rad) * (in.y - about.y) + about.x; - double newY = Math.sin(rad) * (in.x - about.x) - Math.cos(rad) * (in.y - about.y) + about.y; + double newY = Math.sin(rad) * (in.x - about.x) + Math.cos(rad) * (in.y - about.y) + about.y; return new Point(((int) newX), ((int) newY)); }