Game Development Reference
In-Depth Information
Figure 10.36
You shift the parabola to the right by squaring the sum of two numbers.
Absolute Values
In Figure 10.37, equations that feature the differences and sums of absolute
values generate shifts to the right and the left of the y axis. You shift the V that is
on the right of the y axis by subtracting 4 from the variable x . The equation that
accomplishes this is y ¼jx bj .
The equation that features the sum of two values generates the shift to the left.
The V on the left of the y axis has been shifted by adding 4 to the value of the
variable. The equation that accomplishes this is y ¼jx þ bj .
To implement the top equation, refer to Figure 10.37 and use the following steps:
1. Click the Abs menu item. To position the bars for the absolute value, click in
the upper equation composition area. Pull the bars far enough apart to
accommodate two fields and a minus sign.
Search WWH ::




Custom Search