18 : m_redChannel(data.redChannel)
19 , m_greenChannel(data.greenChannel)
20 , m_blueChannel(data.blueChannel)
21 , m_directionType(data.directionType)
22 , m_elevationSensitivity(data.elevationSensitivity)
23 , m_mixValue(data.mixValue)
47 qreal halfvalue = 0.5;
52 qreal elevation= (info.
tiltElevation(info, 60.0, 60.0,
true)*90.0);
78 elevation =
static_cast<int>(elevationT);
86 qreal horizontal, vertical, depth;
90 horizontal = cos(elevation)*sin(direction);
92 horizontal= halfvalue+(fabs(horizontal)*halfvalue);
95 horizontal= halfvalue-(fabs(horizontal)*halfvalue);
97 vertical = cos(elevation)*cos(direction);
99 vertical = halfvalue+(fabs(vertical)*halfvalue);
102 vertical = halfvalue-(fabs(vertical)*halfvalue);
108 depth = sin(elevation)*maxvalue;