onSameSide

fun onSameSide(pointA: Vec3, pointB: Vec3): Int

Determines whether two points are on the same side of this plane.

Return

-1 if both points are on the negative side of this plane, +1 if both points are on the positive side of this plane, 0 if the points are on opposite sides of this plane

Parameters

pointA

the first point

pointB

the second point