Results 1 to 2 of 2

Thread: Math question about coordinates.

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2009
    Posts
    43

    Math question about coordinates.

    Hi,

    I need some help from someone who is a lil good with math.. (as i am not..)

    I need to calculate 3 things, distance between 2 coordinates, which coordinates are x meters forward, and the YAW to look at some coordinate.

    Distance i know is (z1 - z2)^2 + (x1 - x2)^2.

    Altho im not sure how to do this in C++.
    The other 2 make me clueless as i never had math in school before i dropped out (bad me i know).

    Can someone help me with this?

    format is X Y Z YAW, where Y is height and YAW is looking direction.

    Regards,
    Shini

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Re: Math question about coordinates.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width