Path: chuka.playstation.co.uk!news From: Andrew Murray Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: The Passmore Tutorial Date: Tue, 10 Aug 1999 16:59:51 +0100 Organization: Max Studios Lines: 33 Message-ID: <37B04C77.DD60E0AF@which.net> References: <379CE2B7.4DFF96A5@which.net> <7nj2fa$i4m29@chuka.playstation.co.uk> NNTP-Posting-Host: p03-wigeon-gui.tch.which.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) I don't suppose you could tell me where I could get the docoments that tell me wht it does then. Cheers for replying. Chuck wrote: > Andrew Murray wrote in message <379CE2B7.4DFF96A5@which.net>... > >Hello one&all, > > > >In the Passmore tutorial the is a line I do not understand. It is in the > > > >LoadTexture Function and the line is: > > > >if((tim1.pmode>>3)&0x01) > > > >Can anyone enlighten me coz I am stuck tight right now. I NEED TO > >KNOW!!!!!! > > Its testing the 3rd bit of the pmode value.. I don't have my docs near me > to tell you what exactly that tells you about the tim. > > why on earth they're not just going > > if (time1.pmode&0x4) > > I dunno, but it would probably get optimized by the compiler to remove the > shift. > > ..belial..