From: Kristian Høgsberg Date: Mon, 8 Mar 2010 22:16:01 +0000 (-0500) Subject: Fix a couple of typos in rotation matrix X-Git-Tag: 0.85.0~551 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa548856007d0326632cc4baab66b705a38249ed;p=platform%2Fupstream%2Fwayland.git Fix a couple of typos in rotation matrix --- diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c index 5da2e7e..e8e46c2 100644 --- a/wayland-system-compositor.c +++ b/wayland-system-compositor.c @@ -305,8 +305,8 @@ wlsc_matrix_rotate(struct wlsc_matrix *matrix, GLdouble s = sin(angle); struct wlsc_matrix rotate = { { x * x * (1 - c) + c, y * x * (1 - c) + z * s, x * z * (1 - c) - y * s, 0, - x * y * (1 - c) - z * s, y * y * (1 - c) + c, y * z * (1 - c) - x * s, 0, - x * z * (1 - c) + y * x, y * z * (1 - c) - x * s, z * z * (1 - c) + c, 0, + x * y * (1 - c) - z * s, y * y * (1 - c) + c, y * z * (1 - c) + x * s, 0, + x * z * (1 - c) + y * s, y * z * (1 - c) - x * s, z * z * (1 - c) + c, 0, 0, 0, 0, 1 } };