mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
network: 1.18-pre6
This commit is contained in:
parent
5496b1d47e
commit
bca8728557
@ -16,6 +16,7 @@ package de.bixilon.minosoft.protocol.protocol;
|
||||
@SuppressWarnings("unused")
|
||||
public class ProtocolVersions {
|
||||
public static final int
|
||||
V_1_18_PRE6 = 808,
|
||||
V_1_18_PRE5 = 807,
|
||||
V_1_18_PRE4 = 806,
|
||||
V_1_18_PRE3 = 805,
|
||||
|
@ -20,7 +20,7 @@ import kotlin.math.floor
|
||||
import kotlin.math.ln
|
||||
|
||||
object MMath {
|
||||
private const val LN_2 = 0.69314718056 // ln(2.0)
|
||||
private const val LN_2 = 0.6931471805599453 // ln(2.0)
|
||||
|
||||
fun clamp(value: Vec2i, min: Vec2i, max: Vec2i): Vec2i {
|
||||
value.x = clamp(value.x, min.x, max.x)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user