Skip to content

Commit d5c51e4

Browse files
committed
idk what happened
1 parent f38db93 commit d5c51e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/src/main/kotlin/com/lambda/interaction/construction/blueprint/Blueprint.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import com.lambda.interaction.construction.verify.TargetState
2121
import com.lambda.util.BlockUtils.blockPos
2222
import com.lambda.util.collections.ResettableLazy
2323
import com.lambda.util.extension.Structure
24-
import com.lambda.util.math.VecUtils.roundedBlockPos
24+
import com.lambda.util.math.roundedBlockPos
2525
import net.minecraft.structure.StructureTemplate
2626
import net.minecraft.util.math.*
2727

common/src/main/kotlin/com/lambda/util/math/Vectors.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ operator fun Vec2f.component2() = y
3838
fun Vec3d.approximate(other: Vec3d, precision: Double = 2.0E-4): Boolean =
3939
(subtract(other) distSq Vec3d.ZERO) > precision.pow(2)
4040

41-
val Vec3d.blockPos: BlockPos
41+
val Vec3d.roundedBlockPos: BlockPos
4242
get() = BlockPos(x.roundToInt(), y.roundToInt(), z.roundToInt())
4343

4444
fun Vec3d.interpolate(value: Double, max: Vec3d) = lerp(value, this, max)

0 commit comments

Comments
 (0)