EMI: Draw model faces with alpha textures also to the depth buffer. Fixes #874
EMI: Initialize _texc, _verts and _layers in the constructor of BitmapData.
Merge pull request #941 from Akz-/emi-savecrash-fix

GRIM/EMI: Always initialize the fields of BitmapData
MATH: Fix indentation for matrix4.
MATH: Add a selectable Euler Order to Rotation3D.
EMI/GRIM/MYST3: Replace some Quaternions with Rotation3D.
Merge pull request #936 from JoseJX/ExpandRotation3D

MATH: Allow Rotations to have a selectable Euler Order
EMI: Skip chores that are internally marked as stopped when drawing components.

The playing chores list may contain chores that have been stopped during the current frame. Stopped chores will be removed from the list on the next costume update. Drawing stopped components caused flicker when entering the closeup at Stan's house.
EMI: Sprite drawing fixes for OpenGL Shaders renderer.
EMI: Read depth write and alpha test flags from sprite files.
EMI: Print warning if an unknown blend mode value is encountered when parsing a sprite file.
GRIM/EMI: Move implementation of setFollowBoxes from header to source file.
EMI: Clean up sprite drawing in OpenGL.
EMI: Share Materials between Costumes.

Sometimes a texi component may refer to a material that was initialized by some other costume than the owner costume of the texi component. For example, the candles in gmi have a costume "fx/aura1.cos" that controls the animation of a material originally initialized by a sprite component of "fx/candle.cos".
EMI: Sprite fixes for TinyGL renderer.

Note that most of this is currently commented out due to lack of proper blending in TinyGL. Once blending is properly implemented the commented out parts can be enabled.
MATH: Fix gimbal lock for ZXY.
MATH: Keep position when building rotation.
Merge pull request #944 from JoseJX/FixHeads

GRIM: Fix the head tracking broken by the changes to Rotation3D
MATH: Cast M_PI to a float to fix an MSVC warning
Merge pull request #938 from Akz-/emi-sprite-fixes

EMI: Sprite fixes