I need to return the Hyperbolic Sin of a Value, but UE4 doesn’t seem to have any functions for SinH or CosH.
Any ideas how I can use the Std Library to do this?
I need to return the Hyperbolic Sin of a Value, but UE4 doesn’t seem to have any functions for SinH or CosH.
Any ideas how I can use the Std Library to do this?
you can use regular exponential functions such as here
see this link
Well STD Library probably does it much faster and speed is key for this solution. Plus that’s a lot of code, so if I write that wrong, It’ll be a nightmare to debug.
How’s this?
It’s alright, turns out you can just type sinh or cosh and it falls back to Math.h anyway - no compiler errors.
Wanted to thank you for this. It’s an obvious and simple solution that hadn’t crossed my mind.
(i am being sincere)