From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: About ray casting and look up tables Date: Fri, 10 Jul 1998 11:26:13 -0700 Organization: Alcyone Systems Lines: 20 Message-ID: <35A65CC5.31645627@alcyone.com> References: <35A62FBB DOT AF821E92 AT cue DOT satnet DOT net> NNTP-Posting-Host: charmaine.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ronald Patixo G wrote: > I don't understand why he uses this formula > > ang_rad = ang * TWOPIDIV360 ; > insted of the one i'm using > > and why he says that 1920 is equivalent to 360 It looks like he's simply using a different degree unit. Instead of using units of 1 deg, like you are, he wants higher resolution and is using units of 360/1920 deg = 0.1875 deg. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm:+37.20.07/-121.53.38 \ I put away my nine, fool / 'cause I'm colorblind. / Ice Cube