Re: Tangent for 3D vectors
- From: "Bartc" <bc@xxxxxxxxxx>
- Date: Sat, 26 Apr 2008 19:09:25 GMT
<kalaiselvam.p@xxxxxxxxx> wrote in message
news:b16b02bc-6d9b-4043-afa7-4ec5ec651931@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear All,
I am developing a 3D car game in C++ using openGL. To calculate the
Ground Velocity, I need the formula to calculate tangent for 3D
vector. I got the tangent for 2D vector from some game samples (i.e.,
Tangent for 2D vector (x,y) = (-y,x)). Please help me to find out the
tangent for 3D vector.
(-y,x) is perpendicular to (x,y). ((y,-x) is also perpendicular in the other
direction.)
For the vector (x,y,z), there are any number of vectors perpendicular to it.
You need to be clearer as to what you need.
--
Bartc
.
- Follow-Ups:
- Re: Tangent for 3D vectors
- From: kalaiselvam . p
- Re: Tangent for 3D vectors
- References:
- Tangent for 3D vectors
- From: kalaiselvam . p
- Tangent for 3D vectors
- Prev by Date: Re: Tangent for 3D vectors
- Next by Date: A question about an LL parser
- Previous by thread: Re: Tangent for 3D vectors
- Next by thread: Re: Tangent for 3D vectors
- Index(es):
Relevant Pages
|