|
|
Err... Every time I read a mathematical problem like this I feel kind of
stupid... Am I correct in assuming that you want to calculate the surface
normal of a triangle, whose vertices are given?
If so, try this (untested and you migh have to swap V2 and V3)
#macro Norm(V1,V2,V3)
vnormalize(vcross(V2-V1,V3-V1))
#end
If not, I might still have the solution but I dont quite understand what you
need...
Margus
Post a reply to this message
|
|