mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
Merge branch '1.18' into 'master'
1.18 See merge request bixilon/minosoft!29
This commit is contained in:
commit
413486524d
@ -16,6 +16,14 @@ package de.bixilon.minosoft.protocol.protocol;
|
||||
@SuppressWarnings("unused")
|
||||
public class ProtocolVersions {
|
||||
public static final int
|
||||
V_1_18 = 815,
|
||||
V_1_18_RC4 = 814,
|
||||
V_1_18_RC3 = 813,
|
||||
V_1_18_RC2 = 812,
|
||||
V_1_18_RC1 = 811,
|
||||
V_1_18_PRE8 = 810,
|
||||
V_1_18_PRE7 = 809,
|
||||
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