Skip to content
Commit bbf3e465 authored by João Capucho's avatar João Capucho Committed by Dzmitry Malyshau
Browse files

Add support for inverse hyperbolic trignometric functions

Hlsl and wgsl don't support them directly so a polyfill is used taken
from the msl spec.

`asinh` = `log(x + sqrt(x * x + 1.0))`
`acosh` = `log(x + sqrt(x * x - 1.0))`
`atanh` = `0.5 * log((1.0 + x) / (1.0 – x))`
parent 644fa684
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment