Minor performance question :)

I don’t know if this really important. Anyway, tested this function and got better result with Math.abs() function. If it really faster then it may be fine change to that, I guess…

https://playground.babylonjs.com/#ZI4ENX#1

2 Likes

OMG this is excellent!! Do you want to send a PR? You deserve to get some credits!

Done. :ok_hand:

1 Like