From: Tom Bech Newsgroups: sci.math Subject: Re: Looking for general 3D rotation matrix... Date: 17 Apr 1995 06:18:43 GMT Hi, Pick up the file "ftp://iris.ssec.wisc.edu/pub/misc/Mesa-1.1.3beta.tar.gz" or via WWW: "http://www.ssec.wisc.edu/~brianp/Mesa.html". Mesa is a public domain OpenGL-like API (same syntax as OpenGL) distributed under the GNU license. In the archive there's a directory called "SRC" where you'll find a file called "xform.c". There's a routine called "glRotatef(angle,vx,vy,vz)" wich does what you're looking for. There's a lot of other interesting routines there as well, check it out. The author of the Mesa library is Brian Paul (brianp@ssec.wisc.edu). Happy programming Tom -------------------------------------- MSc Section, Department of Informatics University of Bergen, Norway --------------------------------------