Source

gltut / Documents / Positioning / CameraToClipNearMatrix.mathml

Full commit
<?xml version="1.0" encoding="utf-8"?>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
  <mtable>
    <mtr>
      <mtd>
        <msub>
                <mi>X</mi>
              <mtext>clip</mtext>
        </msub>
      </mtd>
      <mtd>
        <mo>=</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mi>S</mi>
          </mrow>
        </mfenced>
        <msub>
                <mi>X</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>Y</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>Z</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>W</mi>
              <mtext>camera</mtext>
        </msub>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <msub>
                <mi>Y</mi>
              <mtext>clip</mtext>
        </msub>
      </mtd>
      <mtd>
        <mo>=</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>X</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mi>S</mi>
          </mrow>
        </mfenced>
        <msub>
                <mi>Y</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>Z</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>W</mi>
              <mtext>camera</mtext>
        </msub>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <msub>
                <mi>Z</mi>
              <mtext>clip</mtext>
        </msub>
      </mtd>
      <mtd>
        <mo>=</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>X</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>Y</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mfrac>
              <mrow>
                <mi>F</mi>
                <mo>+</mo>
                <mi>N</mi>
              </mrow>
              <mrow>
                <mi>N</mi>
                <mo>-</mo>
                <mi>F</mi>
              </mrow>
            </mfrac>
          </mrow>
        </mfenced>
        <msub>
                <mi>Z</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mfrac>
              <mrow>
                <mn>2</mn>
                <mi>F</mi>
                <mi>N</mi>
              </mrow>
              <mrow>
                <mi>N</mi>
                <mo>-</mo>
                <mi>F</mi>
              </mrow>
            </mfrac>
          </mrow>
        </mfenced>
        <msub>
                <mi>W</mi>
              <mtext>camera</mtext>
        </msub>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <msub>
                <mi>W</mi>
              <mtext>clip</mtext>
        </msub>
      </mtd>
      <mtd>
        <mo>=</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>X</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>Y</mi>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <msub>
              <mrow>
                <mfenced open="(" close=")" separators=",">
                  <mrow>
                    <mo>-</mo>
                    <mn>1</mn>
                  </mrow>
                </mfenced>
                <mi>Z</mi>
              </mrow>
              <mtext>camera</mtext>
        </msub>
        <mo>+</mo>
      </mtd>
      <mtd>
        <mfenced open="(" close=")" separators=",">
          <mrow>
            <mn>0</mn>
          </mrow>
        </mfenced>
        <msub>
                <mi>W</mi>
              <mtext>camera</mtext>
        </msub>
      </mtd>
    </mtr>
  </mtable>
</mrow>
</math>