Menu - Top - Home - Donate to Me

H3DU.exports.MatrixStack

Back to documentation index.

H3DU.exports.MatrixStack()

This class implements a stack of 4x4 transformation matrices.

When the constructor is called, it will create a stack whose only element is the identity matrix.

This class is considered a supplementary class to the Public Domain HTML 3D Library and is not considered part of that library.

To use this class, you must include the script "extras/matrixstack.js"; the class is not included in the "h3du_min.js" file which makes up the HTML 3D Library. Example:

<script type="text/javascript" src="extras/matrixstack.js"></script>

Back to documentation index.