about Source code:Nine.Graphics.MatrixCollection

Jun 26, 2013 at 5:07 AM
public Matrix ViewProjection
        {
            get
            {
                if ((matricesDirtyMask & ViewProjectionDirty) != 0)
                {
                    Matrix.Multiply(ref view, ref projection, out viewProjection);
                    matricesDirtyMask |= ~ViewProjectionDirty;
                }
                return viewProjection;
            }
        }
//original code:
matricesDirtyMask |= ~ViewProjectionDirty;
//Why not:
matricesDirtyMask &= ~ViewProjectionDirty;
I was confused.
other properties do so.
Coordinator
Jun 26, 2013 at 11:42 AM
Thanks for pointing out this problem. This was fixed in the v1.4 branch.