|
|
David Fontaine wrote:
> If I have an arbitrary vector representing the surface normal of a plane
> which passes through the origin, and an arbitrary point, how do I tell
> if that point is in front or back of the plane?
If your normal vector is <a,b,c> and the position of the point is <x,y,z>,
you should just have to test a*x+b*y+c*z, if it's positive, the point is in
front of the plane, if it's negative, the point is behind the plane, and if
it's zero, the point lies on the plane.
Post a reply to this message
|
|