Files
weston/src
Neil Roberts 1e40a7ec7a Simply the matrix calculation for zooming
In order to apply the zoom transformation to the output matrix, Weston was
doing the following:

• Create a temporary matrix to hold the translation
• Invert the translation matrix using weston_matrix_invert into
  another temporary matrix
• Scale that matrix by the scale factor
• Multiply the current matrix with the temporary matrix

Using weston_matrix_invert to invert a translation matrix is over the top.
Instead we can just negate the values we pass to weston_matrix_translate.
Matrix multiplication is associative so creating a temporary matrix to hold the
scale and translation transform should be equivalent to just applying them
directly to the output matrix.
2014-04-25 15:18:37 -07:00
..
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-10-21 16:07:10 -07:00
2013-10-21 16:07:10 -07:00
2013-11-12 16:20:34 -08:00
2013-11-12 16:20:34 -08:00
2013-10-21 16:23:58 -07:00
2012-05-10 14:11:44 -04:00
2013-10-21 16:23:58 -07:00
2013-12-02 11:36:29 -08:00
2013-12-02 11:36:29 -08:00
2014-04-21 15:43:49 -07:00