gltransformation: implement navigation events
authorMatthew Waters <matthew@centricular.com>
Thu, 14 Jan 2016 06:45:03 +0000 (17:45 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:14 +0000 (19:32 +0000)
commit1fe2996b013e842b692b5c8a1d761cd4b613c00a
treee90c64a93b7290d38b92f23b05d383193931ea37
parentb25ce3f33465b94f5e3a08a5d206454ed30ffa9e
gltransformation: implement navigation events

Reverses the transformation applied through the properties and forwards the
event.

The process for finding the coordinates on the video are as follows:
1. Convert the given pointer_x and pointer_y to model space at the near and far planes
2. Get the equation of the video plane
3. Find where the ray in 1 intersects the plane
4. Profit!
ext/gl/gstgltransformation.c
ext/gl/gstgltransformation.h