mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 05:41:51 +09:00
OKHsv util
This commit is contained in:
@@ -597,6 +597,10 @@ final public class FastMath {
|
||||
return (float) Math.sqrt(fValue);
|
||||
}
|
||||
|
||||
public static float cbrt(float fValue) {
|
||||
return (float) Math.cbrt(fValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the tangent of a value. If USE_FAST_TRIG is enabled, an approximate value
|
||||
* is returned. Otherwise, a direct value is used.
|
||||
|
||||
Reference in New Issue
Block a user