Thread: OT: 2D/3D math
View Single Post
  #5  
Old November 26th, 2004, 11:15 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: 2D/3D math

Code:


|Ax1 + By1 + C|
distance between point and line: D = -----------------
square root (A^2 + B^2)



So...
Code:


|A*x1 + B*y1 + C|
distance between point and line: D = -----------------
square root (A^2 + B^2)



??

In that case, what are A, B and C?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote