|
|
On Thu, 30 Dec 1999 19:06:42 -0600, David Fontaine <dav### [at] faricynet>
wrote:
>> 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.
>
>Thanks! Actually I got it from by brother just a couple of minutes ago, I can't
>believe it was so simple...
The same answer, put another way, is even simpler: If the vector is V
and the point is P, you can use vdot(V,P) to get the same result.
Post a reply to this message
|
|