Math.Plane.whichSide(..)

Greetings. Somehow I have problems to get proper values from method com.jme3.math.Plane.whichSide(…) resp. com.jme3.math.Plane.pseudoDistance(…). If I understood properly, that plane is generaly defined as: ax + by + cz + d = 0, when (a,b,c) is normal and d is constant than pseudoDistance(…) for point should be calculated as: normal.dot(point) + constant, right? But in the source I found: normal.dot(point) - constant. Which I think is the reason why it doesn’t give a proper values. What do you think about? :?

Thank you. :slight_smile:

jME3’s Plane uses a different equation. See javadoc: http://hub.jmonkeyengine.org/javadoc/com/jme3/math/Plane.html

Plane defines a plane where Normal dot (x,y,z) = Constant.