Here's the code. Not sure why it does this.
Here's the code. Not sure why it does this.
Perhaps you are drawing one end of the normal at a vertex instead of the middle of the triangle? I looked at the code for computing the normal, and that looks correct to me...and your cross product should work as well, I double checked that as well. So, I'm thinking it's probably an error in displaying it...
Away.
that's what i thought, too, actually, but when I didn't normalize it I could draw it like that....ur probably right though *shrug*
Last edited by Silvercord; 05-16-2003 at 08:39 AM.
normal should be drawn
Point2 + Normal
that works no matter what point I am drawing from
simple noob mistake, I can't believe I was doing that ... omg ... oh well at least now I can get the project onto plane functions working