Skip to content

Commit

Permalink
better javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Feb 17, 2024
1 parent e78fa4f commit 35cdbb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/violetmoon/zeta/util/MiscUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ public static Vec2 getMinecraftAngles(Vec3 direction) {
}

/**
* 1e-15ish accuracy errors With using this over {@link MiscUtil#getMinecraftAngles}
* Around 2.19 Faster but again, not as accurate
* 1e-15ish accuracy errors while using this over {@link MiscUtil#getMinecraftAngles}
* <p>
* Around 2.19 times faster but again, not as accurate
*/
public static Vec2 getMinecraftAnglesLossy(Vec3 direction) {
// <sin(-y) * cos(p), -sin(-p), cos(-y) * cos(p)>
Expand Down

0 comments on commit 35cdbb3

Please sign in to comment.