diff options
Diffstat (limited to 'src/test/kotlin/util/math/ProjectionsBoxTest.kt')
| -rw-r--r-- | src/test/kotlin/util/math/ProjectionsBoxTest.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/kotlin/util/math/ProjectionsBoxTest.kt b/src/test/kotlin/util/math/ProjectionsBoxTest.kt index 04720a3..dc06e4b 100644 --- a/src/test/kotlin/util/math/ProjectionsBoxTest.kt +++ b/src/test/kotlin/util/math/ProjectionsBoxTest.kt @@ -5,7 +5,7 @@ import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.DynamicTest import org.junit.jupiter.api.TestFactory import kotlin.streams.asStream -import net.minecraft.util.math.Vec2f +import net.minecraft.world.phys.Vec2 import moe.nea.firmament.util.math.Projections class ProjectionsBoxTest { @@ -14,8 +14,8 @@ class ProjectionsBoxTest { @TestFactory fun testProjections(): Stream<DynamicTest> { return sequenceOf( - 0.0.degrees to Vec2f(1F, 0F), - 63.4349.degrees to Vec2f(0.5F, 1F), + 0.0.degrees to Vec2(1F, 0F), + 63.4349.degrees to Vec2(0.5F, 1F), ).map { (angle, expected) -> DynamicTest.dynamicTest("ProjectionsBoxTest::projectAngleOntoUnitBox(${angle})") { val actual = Projections.Two.projectAngleOntoUnitBox(angle) |
