java.lang.Object
org.spongepowered.math.HashFunctions
Provides various hash functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
fastCeil
(float v) In profiling, it has been found to be faster to have our own local implementation of "ceil" rather than to call toMath.ceil(double)
.
-
Method Details
-
fastCeil
public static int fastCeil(float v) In profiling, it has been found to be faster to have our own local implementation of "ceil" rather than to call toMath.ceil(double)
.- Parameters:
v
- the value to ceil- Returns:
- the ceil'd value
-