aboutsummaryrefslogtreecommitdiffstats
path: root/src/video-math.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-14 16:30:30 +0200
committerMattias Andrée <maandree@kth.se>2017-07-14 16:30:30 +0200
commit0ca8f64f61b534ba2428236fec2c8879fe58c059 (patch)
tree0b7f40e2c9277aafc28801dbc0a351e00e641103 /src/video-math.h
parentImprove performance of blind-stack (diff)
downloadblind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.gz
blind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.bz2
blind-0ca8f64f61b534ba2428236fec2c8879fe58c059.tar.xz
Add blind-matrix-{orthoproject,reflect,rotate,scale,shear,translate,transpose}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/video-math.h')
-rw-r--r--src/video-math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video-math.h b/src/video-math.h
index 281c8f6..28ac4f2 100644
--- a/src/video-math.h
+++ b/src/video-math.h
@@ -71,6 +71,7 @@ posmodf(float a, float b)
#define posmod(...) MATH_GENERIC_N(posmod, __VA_ARGS__)
#define cos(...) MATH_GENERIC_1(cos, __VA_ARGS__)
#define sin(...) MATH_GENERIC_1(sin, __VA_ARGS__)
+#define tan(...) MATH_GENERIC_1(tan, __VA_ARGS__)
#define atan2(...) MATH_GENERIC_N(atan2, __VA_ARGS__)
#define srgb_encode(...) BLIND_GENERIC_1(srgb_encode, __VA_ARGS__)