mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 05:19:55 +03:00
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
--- ../src-base/minecraft/net/minecraft/util/math/Vec3d.java
|
|
+++ ../src-work/minecraft/net/minecraft/util/math/Vec3d.java
|
|
@@ -1,9 +1,9 @@
|
|
package net.minecraft.util.math;
|
|
|
|
-import javax.annotation.Nullable;
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
|
|
|
+import javax.annotation.Nullable;
|
|
public class Vec3d
|
|
{
|
|
public static final Vec3d ZERO = new Vec3d(0.0D, 0.0D, 0.0D);
|
|
@@ -54,7 +54,6 @@
|
|
return this.x * vec.x + this.y * vec.y + this.z * vec.z;
|
|
}
|
|
|
|
- @SideOnly(Side.CLIENT)
|
|
public Vec3d crossProduct(Vec3d vec)
|
|
{
|
|
return new Vec3d(this.y * vec.z - this.z * vec.y, this.z * vec.x - this.x * vec.z, this.x * vec.y - this.y * vec.x);
|
|
@@ -114,7 +113,6 @@
|
|
return (double)MathHelper.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);
|
|
}
|
|
|
|
- @SideOnly(Side.CLIENT)
|
|
public double lengthSquared()
|
|
{
|
|
return this.x * this.x + this.y * this.y + this.z * this.z;
|
|
@@ -245,7 +243,6 @@
|
|
return fromPitchYaw(p_189984_0_.x, p_189984_0_.y);
|
|
}
|
|
|
|
- @SideOnly(Side.CLIENT)
|
|
public static Vec3d fromPitchYaw(float p_189986_0_, float p_189986_1_)
|
|
{
|
|
float f = MathHelper.cos(-p_189986_1_ * 0.017453292F - (float)Math.PI);
|