| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Torch Mobile, Inc. | 3 * Copyright (C) 2009 Torch Mobile, Inc. |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 } | 1621 } |
| 1622 | 1622 |
| 1623 return String::format("translation(%lg,%lg,%lg), scale(%lg,%lg,%lg), skew(%l
g,%lg,%lg), quaternion(%lg,%lg,%lg,%lg), perspective(%lg,%lg,%lg,%lg)", | 1623 return String::format("translation(%lg,%lg,%lg), scale(%lg,%lg,%lg), skew(%l
g,%lg,%lg), quaternion(%lg,%lg,%lg,%lg), perspective(%lg,%lg,%lg,%lg)", |
| 1624 decomposition.translateX, decomposition.translateY, decomposition.transl
ateZ, | 1624 decomposition.translateX, decomposition.translateY, decomposition.transl
ateZ, |
| 1625 decomposition.scaleX, decomposition.scaleY, decomposition.scaleZ, | 1625 decomposition.scaleX, decomposition.scaleY, decomposition.scaleZ, |
| 1626 decomposition.skewXY, decomposition.skewXZ, decomposition.skewYZ, | 1626 decomposition.skewXY, decomposition.skewXZ, decomposition.skewYZ, |
| 1627 decomposition.quaternionX, decomposition.quaternionY, decomposition.quat
ernionZ, decomposition.quaternionW, | 1627 decomposition.quaternionX, decomposition.quaternionY, decomposition.quat
ernionZ, decomposition.quaternionW, |
| 1628 decomposition.perspectiveX, decomposition.perspectiveY, decomposition.pe
rspectiveZ, decomposition.perspectiveW); | 1628 decomposition.perspectiveX, decomposition.perspectiveY, decomposition.pe
rspectiveZ, decomposition.perspectiveW); |
| 1629 } | 1629 } |
| 1630 | 1630 |
| 1631 std::ostream& operator<<(std::ostream& ostream, const TransformationMatrix& matr
ix) |
| 1632 { |
| 1633 return ostream << matrix.toString(); |
| 1634 } |
| 1635 |
| 1631 } // namespace blink | 1636 } // namespace blink |
| OLD | NEW |