mirror of
https://github.com/brl/mutter.git
synced 2024-12-02 12:50:53 -05:00
18 lines
423 B
Diff
18 lines
423 B
Diff
|
diff --git a/clutter/cogl/common/cogl-fixed.c b/clutter/cogl/common/cogl-fixed.c
|
||
|
index 348d2ce..2e27da1 100644
|
||
|
--- a/clutter/cogl/common/cogl-fixed.c
|
||
|
+++ b/clutter/cogl/common/cogl-fixed.c
|
||
|
@@ -482,6 +482,12 @@ cogl_angle_sin (CoglAngle angle)
|
||
|
}
|
||
|
|
||
|
CoglFixed
|
||
|
+cogl_fixed_tan (CoglFixed angle)
|
||
|
+{
|
||
|
+ return cogl_angle_tan (COGL_ANGLE_FROM_DEGX (angle));
|
||
|
+}
|
||
|
+
|
||
|
+CoglFixed
|
||
|
cogl_angle_tan (CoglAngle angle)
|
||
|
{
|
||
|
int sign = 1;
|