Adding Support for Matrix Stacks

We've also added a new script: Transforms.js. This file contains the Transforms class that encapsulate the matrix-handling operations, including the push and pop matrix stack operations. The Transforms class replaces the functionality behind the initTransforms, updateTransforms, and setMatrixUniforms functions.

You can find the source code for SceneTransforms in common/js/Transforms.js.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.217.134