   Vector math triangle problem
  I have three vectors A, B and C forming a triangle. The problem is that i want a good fast formula for getting the height of the triangle in pixels......C............./|.\........../.|...\.....  ../..H.....\..../...|.......\.A-------------B[edited by - PopJimmy on February 11, 2004 9:34:32 AM]
  Lets call a=AB and b=ACIn 2D:H=abs(a.x*c.y-b.x*a.y)/sqrt(a.x*a.x+a.y*a.y)In 3D:H=sqrt(sqr(a.y*b.z-a.z*b.y)+sqr(a.z*b.x-a.x*b.z)+sqr(a.x*b.y-a.y*b.x))/sqrt(a.x*a.x+a.y*a.y+a.z*a.z) ;  Thx dude =) 