Game Development Reference
In-Depth Information
Figure 6.3
The value of the y-intercept (b) increases the value of the product of mx.
Negative Slopes
As Figure 6.4 shows, when you assign a negative number to the slope value of the
slope-intercept equation, you reverse the slope. The slope now slants from the
upper left (quadrant II) toward the lower right (quadrant IV). The general rela-
tions between values you see with positive slopes continue to apply, however. If you
set the slope to 1, then the y value that corresponds to 1 on the x axis becomes
1. If you set the slope to 4, then the y value that corresponds to 1 on the x axis
becomes 4. Similarly, for 6 on the x axis, if you set the slope to 2
, you find that
 
Search WWH ::




Custom Search