Simple Cleanups (#61)

Cleans up the code a tiny bit, moving comments around, removing some
`@SuppressWarnings` and some unused code, and using modern Java
features.

These changes should require no modifications to any outside mods.

---------

Co-authored-by: Glease <[email protected]>
This commit is contained in:
Nikolay S.andGlease authored and GitHub committed 2026-06-19 15:31:17 +02:00
1 parent 287e8317c9
commit 2c5fa02a9e
20 files changed
+746 -153

No files matched your search

@@ -141,8 +141,7 @@ public class Vec3Impl implements Comparable<Vec3Impl> {
public boolean equals(Object o) {
if (this == o) {
return true;
} else if (o instanceof Vec3Impl) {
Vec3Impl vec3i = (Vec3Impl) o;
} else if (o instanceof Vec3Impl vec3i) {
return val0 == vec3i.val0 && val1 == vec3i.val1 && val2 == vec3i.val2;
}
return false;