Home
last modified time | relevance | path

Searched refs:M_DEG2RAD (Results 1 – 21 of 21) sorted by relevance

/dports/games/dhewm3/dhewm3-1.5.1/neo/idlib/math/
H A DRotation.cpp52 a = angle * ( idMath::M_DEG2RAD * 0.5f ); in ToQuat()
73 a = angle * ( idMath::M_DEG2RAD * 0.5f ); in ToMat3()
H A DMath.cpp42 const float idMath::M_DEG2RAD = PI / 180.0f; member in idMath
H A DMath.h55 #define DEG2RAD(a) ( (a) * idMath::M_DEG2RAD )
213 static const float M_DEG2RAD; // degrees to radians multiplier variable
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/
H A Dcalc.cc58 double T = twist * M_DEG2RAD; in helix_arc_length()
126 double rads = twist * M_DEG2RAD; in get_conical_helix_slices()
H A Ddegree_trig.h36 constexpr double M_DEG2RAD = 0.017453292519943295769; /* PI/180 */ variable
H A Ddegree_trig.cc42 return x * M_DEG2RAD; in deg2rad()
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/
H A Dcalc.cc58 double T = twist * M_DEG2RAD; in helix_arc_length()
126 double rads = twist * M_DEG2RAD; in get_conical_helix_slices()
H A Ddegree_trig.h36 constexpr double M_DEG2RAD = 0.017453292519943295769; /* PI/180 */ variable
H A Ddegree_trig.cc42 return x * M_DEG2RAD; in deg2rad()
/dports/graphics/qgis/qgis-3.22.3/src/core/mesh/
H A Dqgsmeshvectorrenderer.cpp35 #ifndef M_DEG2RAD
36 #define M_DEG2RAD 0.0174532925 macro
153 …torAngle = -1.0 * atan( ( -1.0 * yVal ) / xVal ) - mContext.mapToPixel().mapRotation() * M_DEG2RAD; in calcVectorLineEnd()
H A Dqgsmeshtracerenderer.cpp26 #ifndef M_DEG2RAD
27 #define M_DEG2RAD 0.0174532925 macro
467 vector = vector.rotateBy( -mMapToFieldPixel.mapRotation() * M_DEG2RAD ); in addTrace()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/mesh/
H A Dqgsmeshvectorrenderer.cpp35 #ifndef M_DEG2RAD
36 #define M_DEG2RAD 0.0174532925 macro
153 …torAngle = -1.0 * atan( ( -1.0 * yVal ) / xVal ) - mContext.mapToPixel().mapRotation() * M_DEG2RAD; in calcVectorLineEnd()
H A Dqgsmeshtracerenderer.cpp22 #ifndef M_DEG2RAD
23 #define M_DEG2RAD 0.0174532925 macro
463 vector = vector.rotateBy( -mMapToFieldPixel.mapRotation() * M_DEG2RAD ); in addTrace()
/dports/graphics/qgis/qgis-3.22.3/src/core/layout/
H A Dqgslayoututils.cpp29 #ifndef M_DEG2RAD
30 #define M_DEG2RAD 0.0174532925 macro
338 double angleRad = -clippedRotation * M_DEG2RAD; in largestRotatedRectWithinBounds()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/layout/
H A Dqgslayoututils.cpp29 #ifndef M_DEG2RAD
30 #define M_DEG2RAD 0.0174532925 macro
342 double angleRad = -clippedRotation * M_DEG2RAD; in largestRotatedRectWithinBounds()
/dports/games/uqm/uqm-0.8.0/src/uqm/planets/
H A Dplangen.c71 #ifndef M_DEG2RAD
72 #define M_DEG2RAD (M_TWOPI / 360.0) macro
476 da += M_DEG2RAD * angle; in CreateSphereTiltMap()
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/radiant/
H A DCamWnd.cpp453 xa = ((renderMode) ? -m_Camera.angles[PITCH] : m_Camera.angles[PITCH]) * idMath::M_DEG2RAD; in Cam_BuildMatrix()
454 ya = m_Camera.angles[YAW] * idMath::M_DEG2RAD; in Cam_BuildMatrix()
H A DXYWnd.cpp3082 a = g_pParentWnd->GetCamera()->Camera().angles[YAW] * idMath::M_DEG2RAD; in DrawCameraIcon()
3087 a = g_pParentWnd->GetCamera()->Camera().angles[PITCH] * idMath::M_DEG2RAD; in DrawCameraIcon()
3092 a = g_pParentWnd->GetCamera()->Camera().angles[PITCH] * idMath::M_DEG2RAD; in DrawCameraIcon()
/dports/games/dhewm3/dhewm3-1.5.1/neo/framework/
H A DDeclParticle.cpp927 angle1 = g->random.CRandomFloat() * directionParms[0] * idMath::M_DEG2RAD; in ParticleOrigin()
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/gamesys/
H A DSysCmds.cpp892 float fov = tan( idMath::M_DEG2RAD * rv->fov_x / 2 ); in Cmd_TestLight_f()
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/gamesys/
H A DSysCmds.cpp961 float fov = tan( idMath::M_DEG2RAD * rv->fov_x / 2 ); in Cmd_TestLight_f()