make Vector2 constructor private

This commit is contained in:
dfsek committed 2021-12-20 00:08:30 -07:00
1 parent fb6c86801e
commit 026547bdfc
14 files changed
+19 -17

No files matched your search

@@ -45,7 +45,7 @@ public class CheckFunction implements Function<String> {
TerraImplementationArguments arguments = (TerraImplementationArguments) implementationArguments;
Vector2 xz = new Vector2(x.apply(implementationArguments, variableMap).doubleValue(),
Vector2 xz = Vector2.of(x.apply(implementationArguments, variableMap).doubleValue(),
z.apply(implementationArguments, variableMap).doubleValue());
RotationUtil.rotateVector(xz, arguments.getRotation());