www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/09/06:28:36

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Collison detection fo Action game
Date: Fri, 7 Feb 1997 20:10:41 +0000
Organization: None
Distribution: world
Message-ID: <v2joaLABx4+yEwnP@talula.demon.co.uk>
References: <855142026 DOT 12716 AT dejanews DOT com>
<vgpI$hAr7O+yEwGt AT talula DOT demon DOT co DOT uk> <32fb0fde DOT 3669297 AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

George Foot writes:
>>can be a big pain to get right), and then bitwise-or the two masks
>>together. If the resulting value is non-zero, the objects have collided.
>
>Surely you mean '...then bitwise-and the two masks together...'? A
>bitwise-or will always be non-zero if either of the inputs is
>non-zero...

Argh. Yes, you are absolutely right :-)

I must have been tired or hung-over or just not thinking properly when I
wrote that. I'll shut up now, before I say anything else stupid :-)

/*
 *  Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
 *  Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
 */

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019