aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java')
-rw-r--r--src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java b/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java
deleted file mode 100644
index 2f55de1..0000000
--- a/src/main/java/me/djtheredstoner/perspectivemod/asm/hooks/RenderManagerHook.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package me.djtheredstoner.perspectivemod.asm.hooks;
-
-import me.djtheredstoner.perspectivemod.PerspectiveMod;
-import net.minecraft.client.renderer.entity.RenderManager;
-
-public class RenderManagerHook {
-
- public static void playerViewXHook(RenderManager renderManager, float value) {
- renderManager.playerViewX = PerspectiveMod.instance.perspectiveToggled ? PerspectiveMod.instance.cameraPitch : value;
- }
-
- public static void playerViewYHook(RenderManager renderManager, float value) {
- renderManager.playerViewY = PerspectiveMod.instance.perspectiveToggled ? PerspectiveMod.instance.cameraYaw : value;
- }
-}