src/gui/math3d/qmatrix4x4.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
  1876     \relates QMatrix4x4
  1876     \relates QMatrix4x4
  1877 
  1877 
  1878     Writes the given \a matrix to the given \a stream and returns a
  1878     Writes the given \a matrix to the given \a stream and returns a
  1879     reference to the stream.
  1879     reference to the stream.
  1880 
  1880 
  1881     \sa {Format of the QDataStream Operators}
  1881     \sa {Serializing Qt Data Types}
  1882 */
  1882 */
  1883 
  1883 
  1884 QDataStream &operator<<(QDataStream &stream, const QMatrix4x4 &matrix)
  1884 QDataStream &operator<<(QDataStream &stream, const QMatrix4x4 &matrix)
  1885 {
  1885 {
  1886     for (int row = 0; row < 4; ++row)
  1886     for (int row = 0; row < 4; ++row)
  1894     \relates QMatrix4x4
  1894     \relates QMatrix4x4
  1895 
  1895 
  1896     Reads a 4x4 matrix from the given \a stream into the given \a matrix
  1896     Reads a 4x4 matrix from the given \a stream into the given \a matrix
  1897     and returns a reference to the stream.
  1897     and returns a reference to the stream.
  1898 
  1898 
  1899     \sa {Format of the QDataStream Operators}
  1899     \sa {Serializing Qt Data Types}
  1900 */
  1900 */
  1901 
  1901 
  1902 QDataStream &operator>>(QDataStream &stream, QMatrix4x4 &matrix)
  1902 QDataStream &operator>>(QDataStream &stream, QMatrix4x4 &matrix)
  1903 {
  1903 {
  1904     double x;
  1904     double x;