ata4/mineshot — pull request #3 by Szperak (2014-09-05 18:11:01+00:00)
Title: Modified scene cutting controls + added cutting near player + synced elapsed time

If you want, you can use this code, but I editied it for my use.
Elapsed time synchronization is useful for Minema.
(Yes, I know, that tick sync can be done easier, eg. 2 vars (doubles) instead of 3 or making every rotation var in 2 forms: last and next tick and doing iterpolation between them)