Question about calculating distance between a plane and a point

Hello.

In a math library used by BabylonJs, the distance between a plane and a point is calculated like this

The formula is quite different than math books gives, and its also outputting different values. Every book gives a formula where a square root is involved eg:

Is the formula accurate?

Hi @Otto,
Have you checked

too?

1 Like