The draw Function

The draw function calls updateTransforms to calculate the matrices for the new position (that is, when we move), and then iterates over the objects in scene to render them. Inside this loop, it calls setMatrixUniforms for every object to be rendered.

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

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