[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]

*GL3.2 Version 4.1 for AIX: Programming Concepts*

## Mathematical Details of the Matrix Subroutines

This section defines the formulas used by the **rot**, **rotate**, **translate**, **scale**, **lookat**, **polarview**, **window**, and **perspective** subroutines. These formulas are placed here for information only. It is not necessary to understand their meaning to use them successfully.

The **rot** and **rotate** subroutines create the following matrix and premultiply it into the current matrix.

The **translate** subroutine creates the following matrix and premultiplies it into the current matrix.

The **scale** subroutine creates the following matrix and premultiplies it into the current matrix.

The **polarview** and **lookat** subroutines create the following matrix and premultiply it into the current matrix.

The perspective transformation subroutines create the following matrices and load them as the projection matrix.

The orthographic subroutines create the following matrices and load them as the projection matrix.

[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]