Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5806

Re: Terry Blunts CoOrdinate Collision Program

From News <chrisjohnson@spamcop.net>
Subject Re: Terry Blunts CoOrdinate Collision Program
Newsgroups comp.sys.acorn.programmer
Date 2019-07-31 14:38 +0100
Message-ID <57dc398c98chrisjohnson@spamcop.net> (permalink)
References <57dbc97aa6basura@invalid.addr.uk>
Organization None

Show all headers | View raw


In article <57dbc97aa6basura@invalid.addr.uk>,
   Richard Ashbery <basura@invalid.addr.uk> wrote:
> When a moving object collides it then becomes part of the new
> pair. A similar thing happens when the object is static.

I think you need to change a line in PROCupdate.

Original:
IF a%*a% + b%*b% < c%*c% PROCbounce

Change to:
IF a%*a% + b%*b% <= c%*c% PROCbounce

-- 
Chris Johnson

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Terry Blunts CoOrdinate Collision Program Richard Ashbery <basura@invalid.addr.uk> - 2019-07-30 18:14 +0100
  Re: Terry Blunts CoOrdinate Collision Program News <chrisjohnson@spamcop.net> - 2019-07-31 14:38 +0100
    Re: Terry Blunts CoOrdinate Collision Program News <chrisjohnson@spamcop.net> - 2019-07-31 15:22 +0100
    Re: Terry Blunts CoOrdinate Collision Program Richard Ashbery <basura@invalid.addr.uk> - 2019-07-31 18:56 +0100

csiph-web