Seamly2D
Code documentation
vmath.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** Copyright (C) 2013 Digia Plc.
4
** Contact: http://www.qt-project.org/legal
5
**
6
** $QT_BEGIN_LICENSE:GPL$
7
**
8
** GNU General Public License Usage
9
** Alternatively, this file may be used under the terms of the GNU
10
** General Public License version 3.0 as published by the Free Software
11
** Foundation and appearing in the file LICENSE.GPL included in the
12
** packaging of this file. Please review the following information to
13
** ensure the GNU General Public License version 3.0 requirements will be
14
** met: http://www.gnu.org/copyleft/gpl.html.
15
**
16
**
17
** $QT_END_LICENSE$
18
**
19
****************************************************************************/
20
21
#ifndef VMATH_H
22
#define VMATH_H
23
24
#include <QtMath>
25
26
#ifndef M_2PI
27
#define M_2PI (6.28318530717958647692)
/* 2*pi */
28
#endif
29
30
#ifndef M_3PI_4
31
#define M_3PI_4 (2.35619449019234492884)
/* 3*pi/4 */
32
#endif
33
34
#ifndef M_3PI_8
35
#define M_3PI_8 (1.17809724509617246442)
/* 3*pi/8 */
36
#endif
37
38
#ifndef M_PI_8
39
#define M_PI_8 (0.39269908169872415480)
/* pi/8 */
40
#endif
41
42
#ifndef M_4_PI
43
#define M_4_PI (1.27323954473516268615)
/* 4/pi */
44
#endif
45
46
#ifndef M_1_SQRT2
47
#define M_1_SQRT2 (0.70710678118654752440)
/* 1/sqrt(2) */
48
#endif
49
50
#ifndef M_EULER
51
#define M_EULER (0.57721566490153286060)
52
#endif
53
54
#endif
// VMATH_H
55
src
libs
vmisc
vmath.h
Generated by
1.9.1