Game Development Reference
In-Depth Information
Figure 3.2
Distance without direction involves absolute values.
Figure 3.3
The number line depicts the absolute value.
The absolute value of a positive number is the number itself. The absolute
value of a negative number is the additive inverse of the number. Consider the
following operations with respect to absolute values:
j 7 3 j¼j 7 jj 3 7 3 ¼ 21
 
Search WWH ::




Custom Search