Introduction to Game Development: Using Processing by James R Parker

Introduction to Game Development: Using Processing by James R Parker

Author:James R Parker [Parker, James R]
Language: eng
Format: epub
Tags: Computing, Internet
ISBN: 9781937585402
Publisher: Mercury Learning and Information
Published: 2015-05-18T21:00:00+00:00


The first step is to see if the sphere changes sides of the plane during the time interval. The situation is diagrammed in Figure 6.4: the sphere at time T is labelled ST, and its center S = (Sx,Sy) is a distance DT from the plane and the positive side. At time T+1 the center of the sphere is at DT+1, and in the figure is on the opposite (negative) side of the plane. We must make sure that DT > r, or the sphere is intersecting the plane at the beginning.

FIGURE 6.4 Given the position of the sphere at time T and T+1, did the sphere pass through the plane?



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.