[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Line Collision



A central key in the whole task is gaining good control over which of
>, <, <=, >= you need to use to compare different intervals, so to say
whether either first's bottom is lower than second's top value or
whether first's top is lower than second's bottom value. But this kind
of interval comparison is only possible when you, as the second
exercise, are able to boil the problem down to actual interval
comparisons.

As I don't know how much linear algebra you need to catch up on here,
please ask away for any furhter clarification, maybe I or even
somebody else in this channel is able to take you through the task
from where you stand in a more specific manner.

cheers!
mar77i