delorie.com/archives/browse.cgi | search |
From: | Toby Ounsted <Toby AT viglen DOT co DOT uk> |
To: | "djgpp AT delorie DOT com" <djgpp AT delorie DOT com> |
Subject: | Rotating a point (x,y). |
Date: | Tue, 10 Sep 1996 17:58:00 +0100 |
Encoding: | 12 TEXT |
Message-Id: | <96Sep10.100028bst.26499@spy.viglen.co.uk> |
Hi all, Not wishing to go too far off topic, but does anyone have any C code (and/or formulae) for rotating a point (x,y) around the origin(0,0) by a fixed number of degrees?? I'm sure I did this in Maths at school, but it was a _LONG_ time ago... Thanks, Toby.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |