mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 06:28:48 +00:00
0.7.0
This commit is contained in:
1 parent
7f1d199704
commit
be99313e81
47 files changed
+1247
-337
No files matched your search
@@ -9,8 +9,8 @@ public record PositionAndAngle(double x, double y, double z, float yaw, float pi
|
||||
this.x + (other.x - this.x) * amount,
|
||||
this.y + (other.y - this.y) * amount,
|
||||
this.z + (other.z - this.z) * amount,
|
||||
(float) (this.yaw + Mth.wrapDegrees(other.yaw - this.yaw) * amount),
|
||||
(float) (this.pitch + Mth.wrapDegrees(other.pitch - this.pitch) * amount)
|
||||
(float) Mth.wrapDegrees(this.yaw + Mth.wrapDegrees(other.yaw - this.yaw) * amount),
|
||||
(float) Mth.wrapDegrees(this.pitch + Mth.wrapDegrees(other.pitch - this.pitch) * amount)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user