Wow, you must be so coolOriginally Posted by Excess Thoughts
No, from the way I understand it.Originally Posted by Excess Thoughts
Hello there everyone... I could really use some help with a question. I'm in the middle of making a 3d game engine... and there's just this one problem that I can't seem to get through... It's difficult to explain, so here: is a quick picture I made to make it easier to understand what I need...
You are given the values of A,B,C,D, and theta... what I need is a simple equation (or equations) that I could use to find ? for any real values of A,B,C,D, and theta. Is that even possible? I would appreciate anything (the sooner the better...) Thank you in advance.
- Scott
Hello, Scott!
You are given the values of
What I need is a simple equation (or equations) that I could use to find
for any real values of
Code:R o o Q \ * * * / *\ * / * \ * * \ / * \ / * \ / * * O* - - - - * - - X * /(C,D) * / * / * * * / * * P o * * * (A,B)
We are given: .
We want .
The angle between two lines is given by: .
So we have: .
Therefore: .
Thanks for the reply, Malay. I tried what you suggested and didn't get an immediate result, so I'm not sure what you meant. Is this what you had in mind? UsingOriginally Posted by malaygoel
I get from my expression
and from Soroban's
Substituting in the above expression for yields
which is one of the trig identities