O'Reilly logo

Beginning Pre-Calculus for Game Developers by Boris Meltreger, John P. Flynt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Visual Formula

Visual Formula allows you to explore relations between domain and range values. The equations you work with as you conduct these explorations can be characterized as functional relations. In subsequent chapters you explore such relations in greater detail. For now, you can use Visual Formula to program variables for fields so that you can explore how equations create domain-range relations.

To set up functions using Visual Formula, you use the f()Func menu item, which generates the f() operator. This operator captures the expression you place between its open and closing parentheses. The output of the operation is stored in a special Visual Formula variable, z. As Figure 4.15 illustrates, the f() operator allows you to operate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required