llaberge Posted September 30, 2004 Report Posted September 30, 2004 I want to write the position (latitude and longitude) of the plane to flight simulator. In the documentation, they say how to convert to degrees from fs but not how to convert from degrees to fs units. I'm coding with visual c++ 6.0. Does somebody have a code example or an idea?? Thank you. Ludovic
Pete Dowson Posted October 1, 2004 Report Posted October 1, 2004 they say how to convert to degrees from fs but not how to convert from degrees to fs units. Can you not simply reverse it? For instance, if there are 3.28084 feet in a metre, there are 1/3.28084 metres in a foot. Right? All you need to know is the relationship between the two units used and you can then convert either way. That is all the documentation is doing, specifying what the FS units look like. It was never intended to write the code for you, either way. Have you tried coding anything yet? Have a go. If you'd like to show me what you've done I can maybe suggest corrections or improvements. Regards, Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now