delorie.com/archives/browse.cgi | search |
From: | " [iC]" <jan AT narvik DOT crosswinds DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | converting grades speed ??? |
Date: | Sat, 28 Feb 1998 12:20:28 +0100 |
Organization: | Telenor Online Public Access |
Lines: | 12 |
Message-ID: | <6d8rsg$gc4$1@o.online.no> |
NNTP-Posting-Host: | ti36a02-0061.dialup.online.no |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Uh, this might not be the right group to poste this question, but anyway ... Does anybody knows how to convert speed and angel to +-x and y ? like if the angel of the object is 45 grades and speed is one the x and y values vould be -1 both, and if the object has an angel of 90 and speed of 5 the y would have the value -5 and x = 0. uhh get the idea ?? ;-) Have anybody done somthing like this or have any ideas ? And btw. thx to everybody who helped me with the "pointer to function" question
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |