diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-24 00:06:32 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-27 01:21:32 +0200 |
commit | 35d5a21c199a48e7cef2b8c6cdaf95799a711624 (patch) | |
tree | b6447346168d164d019c3508cb750a152e953466 /libass | |
parent | 749e4c3bdc8cdff817c6e00d62543fc3882e8b28 (diff) | |
download | libass-35d5a21c199a48e7cef2b8c6cdaf95799a711624.tar.bz2 libass-35d5a21c199a48e7cef2b8c6cdaf95799a711624.tar.xz |
Remove unused rot_key function
Unused since commit c80f332798238731e1ddf1b541748f3d5c8030f3.
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_utils.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index ed17327..d85ae9b 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -160,12 +160,6 @@ static inline int double_to_d22(double x) return (int) (x * 0x400000); } -// Calculate cache key for a rotational angle in radians -static inline int rot_key(double a) -{ - return double_to_d22(remainder(a, 2 * M_PI)); -} - #define FNV1_32A_INIT 0x811c9dc5U #define FNV1_32A_PRIME 16777619U |