Game Development Reference
In-Depth Information
Figure 4.13
Lines can be discontinuous, but the outcome corresponds to a function.
might name for the function. You can formally represent the function in this
way:
y ΒΌ
1, where
fx
5
[ x
5
g
In this expression, you define the values of
x
as a union of all the values greater
than or equal to 5 and less than or equal to
5.
Designating Functions
The notation you employ to designate functions allows you to substitute a short
statement for the full expression of an equation. The substitution typically
involves using a letter, such as
f
or
g
, to designate the equation. You then employ