OKHsv util

This commit is contained in:
minjaesong
2024-04-18 00:51:34 +09:00
parent 1ddc696e78
commit e2a87d0e14
6 changed files with 657 additions and 90 deletions

View File

@@ -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.