diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-06-17 09:12:28 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-06-17 09:28:37 +0300 |
commit | c428d88f5f2fa1026b6cf6d847a5162b12092b9f (patch) | |
tree | 50c8f46d1d24a62114684ed0c103b2b1b76b581e /src/datavis3d/global/qdatavis3namespace.h | |
parent | 930cec10b892dfb2bd0124fb8d807ae8d471b8c5 (diff) |
Include fix
Module sources now include our own global headers from local dirs, not
from installed dir.
+ Replaced radian conversions with a qmath function.
Change-Id: Ie9f6d561c98022d3225a0dd4964f5118d00f9815
Change-Id: Ie9f6d561c98022d3225a0dd4964f5118d00f9815
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavis3d/global/qdatavis3namespace.h')
-rw-r--r-- | src/datavis3d/global/qdatavis3namespace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/datavis3d/global/qdatavis3namespace.h b/src/datavis3d/global/qdatavis3namespace.h index 38f0aa23..5aeb9464 100644 --- a/src/datavis3d/global/qdatavis3namespace.h +++ b/src/datavis3d/global/qdatavis3namespace.h @@ -49,7 +49,6 @@ QT_DATAVIS3D_BEGIN_NAMESPACE // Constants used in several files -const GLfloat m_pi = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679f; // Compensation for z position; move all objects to positive z, as shader can't handle negative values correctly const GLfloat zComp = 10.0f; // Default light position. To have shadows working correctly, light should be as far as camera, or a bit further |