inverseLerpOptimized static method
Implementation
static Float32x4 inverseLerpOptimized(
Float32x4 min, Float32x4 max, Float32x4 delta, bool isEqualValue, Float32x4 value) {
if (isEqualValue) return min;
return (value - min) / delta;
}
static Float32x4 inverseLerpOptimized(
Float32x4 min, Float32x4 max, Float32x4 delta, bool isEqualValue, Float32x4 value) {
if (isEqualValue) return min;
return (value - min) / delta;
}