[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] shapes other than rects?





--- Peter Nicolai <pn275@yahoo.com> wrote:
> 
> > Hmm. This is an interesting idea. But I have
> strong
> > doubts about it being 
> > right. Someone correct me íf I get anything of
> this
> > wrong.
> > 
> > if mini_array1 and mini_array2:
> > 
> > Does a logical AND of these two arrays. 
> 
> sure.  that's all I wanted -- no need for a bitwise
> and. 

oops -- I'm wrong again.  Somehow, 'and' and 'or' are
bitwise, not logical, when performed on arrays. This
is against what it says in the numpy documentation. ??
so they don't replace logical_and and logical_or. they
just act the same as & and |.  

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org