Intersection of line with cube and knowing the point of intersection.
Posted
by Raj
on Stack Overflow
See other posts from Stack Overflow
or by Raj
Published on 2010-04-02T06:44:45Z
Indexed on
2010/04/02
6:53 UTC
Read the original article
Hit count: 366
Hello everyone,
description
1.lines are originating from origin(0,0,0). 2.lines are at some random angle to the Normal of Top face of teh cube. 3.if the lines are intersecting cube , calculate the intersection point. 4.mainly i wan to know how much distance ,line traveled inside the cube.
I dont know exactly which approach should i take , i will be pleased and thankful if someone could guied me to the right direction, to use OpenGL, DirectX or some other library, for C# . some example or sample will be appriciated.
© Stack Overflow or respective owner