Find the intersection of a line with a plane: Difference between revisions

Content added Content deleted
Line 35: Line 35:
N ← 0 0 1
N ← 0 0 1
P ← 0 0 5
P ← 0 0 5
t(+/(P - D) × N) ÷ +/V × N
dot{+/⍺×⍵}
t ← ((P - D) dot N) ÷ V dot N
I ← D + t × V
I ← D + t × V
</lang>
</lang>