diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-03-08 17:16:01 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-03-08 17:16:01 -0500 |
commit | fa548856007d0326632cc4baab66b705a38249ed (patch) | |
tree | 610a885a5df3699710da979d723456faa9a80f33 | |
parent | 3afd45d49c8103878c2c1bcc689c0f1f22db45c9 (diff) | |
download | wayland-fa548856007d0326632cc4baab66b705a38249ed.tar.gz wayland-fa548856007d0326632cc4baab66b705a38249ed.tar.xz wayland-fa548856007d0326632cc4baab66b705a38249ed.zip |
Fix a couple of typos in rotation matrix
-rw-r--r-- | wayland-system-compositor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 } }; |