diff options
author | David Tardon <dtardon@redhat.com> | 2016-11-06 14:00:50 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-07 15:54:00 +0000 |
commit | 9a6d9b2d7caa6d1ae4dd16ee0b8a8af03e9dd07f (patch) | |
tree | f4f613e94b1b5aede5e35ecd4bd5021c5b4667c0 | |
parent | 0230a4eccd3884ef3c3d6b7b4c6d54e5582a1268 (diff) |
tdf#103696 ensure glm always uses radians
This is set just locally for OGLTrans, because I have no idea what the
other places that use glm expect...
Change-Id: I83675ef2463ab945cb3d6885f803dcbae60a5558
(cherry picked from commit afe235a0abf9ef91a353a4d0dccf56961abd2fbf)
Reviewed-on: https://gerrit.libreoffice.org/30610
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | slideshow/Library_OGLTrans.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk index db1c7881095c..032a88c32395 100644 --- a/slideshow/Library_OGLTrans.mk +++ b/slideshow/Library_OGLTrans.mk @@ -15,6 +15,10 @@ $(eval $(call gb_Library_add_defs,OGLTrans,\ )) endif +$(eval $(call gb_Library_add_defs,OGLTrans,\ + -DGLM_FORCE_RADIANS \ +)) + $(eval $(call gb_Library_use_sdk_api,OGLTrans)) $(eval $(call gb_Library_use_libraries,OGLTrans,\ |