Home
last modified time | relevance | path

Searched refs:rotAngle (Results 1 – 25 of 120) sorted by relevance

12345

/dports/x11-wm/compiz-plugins-extra/compiz-plugins-extra-0.8.8/src/animationaddon/
H A Dfold3d.c165 p->rotAngle = dir * moveProgress * p->finalRotAng; in fxFoldAnimStepPolygon()
174 cos (p->rotAngle * M_PI / 180.0f) * const_y / 2.0f; in fxFoldAnimStepPolygon()
177 1.0f / w->screen->width * (sin (-p->rotAngle * M_PI / 180.0f) * in fxFoldAnimStepPolygon()
183 if (fabs (p->rotAngle) < 90) in fxFoldAnimStepPolygon()
188 cos (p->rotAngle * M_PI / 180.0f) * const_y / 2.0f; in fxFoldAnimStepPolygon()
192 (sin (-p->rotAngle * M_PI / 180.0f) * const_y / 2.0f); in fxFoldAnimStepPolygon()
197 float alpha = p->rotAngle - dir * 90; // [0 - 45] in fxFoldAnimStepPolygon()
200 p->rotAngle = (p->rotAngle - dir * 90) * 2 + dir * 90; in fxFoldAnimStepPolygon()
220 cos (p->rotAngle * M_PI / 180.0f) * const_x / 2.0f; in fxFoldAnimStepPolygon()
224 1.0f / w->screen->width * (sin (p->rotAngle * M_PI / 180.0f) * in fxFoldAnimStepPolygon()
[all …]
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/redbook/
H A Daargb.c48 static float rotAngle = 0.; variable
81 glRotatef(-rotAngle, 0.0, 0.0, 0.1); in display()
90 glRotatef(rotAngle, 0.0, 0.0, 0.1); in display()
121 rotAngle += 20.; in keyboard()
122 if (rotAngle >= 360.) rotAngle = 0.; in keyboard()
H A Daaindex.c52 static float rotAngle = 0.; variable
85 glRotatef(-rotAngle, 0.0, 0.0, 0.1); in display()
94 glRotatef(rotAngle, 0.0, 0.0, 0.1); in display()
125 rotAngle += 20.; in keyboard()
126 if (rotAngle >= 360.) rotAngle = 0.; in keyboard()
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/redbook/
H A Daargb.c48 static float rotAngle = 0.; variable
81 glRotatef(-rotAngle, 0.0, 0.0, 0.1); in display()
90 glRotatef(rotAngle, 0.0, 0.0, 0.1); in display()
121 rotAngle += 20.; in keyboard()
122 if (rotAngle >= 360.) rotAngle = 0.; in keyboard()
H A Daaindex.c52 static float rotAngle = 0.; variable
85 glRotatef(-rotAngle, 0.0, 0.0, 0.1); in display()
94 glRotatef(rotAngle, 0.0, 0.0, 0.1); in display()
125 rotAngle += 20.; in keyboard()
126 if (rotAngle >= 360.) rotAngle = 0.; in keyboard()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin_base/algorithms/basic/
H A DStraightenPanorama.cpp118 double rotAngle = acos(up.Dot(Vector3(0,0,1))); in calcStraighteningRotation() local
119 if (rotAngle > M_PI/2) { in calcStraighteningRotation()
122 rotAngle = acos(up.Dot(Vector3(0,0,1))); in calcStraighteningRotation()
124 DEBUG_DEBUG("rotation Angle: " << rotAngle); in calcStraighteningRotation()
128 DEBUG_DEBUG("rotAxis = " << rotAngle); in calcStraighteningRotation()
131 Matrix3 rotMat = GetRotationAroundU(rotAxis, -rotAngle); in calcStraighteningRotation()
/dports/graphics/wdune/wdune-1.926/src/
H A DTransformNode.cpp125 double rotAngle = frotation[3]; in transform() local
130 rotAngle *= angleUnit; in transform()
139 glRotatef(RAD2DEG(rotAngle), in transform()
163 double rotAngle = frotation[3]; in getInvertMatrix() local
168 rotAngle *= angleUnit; in getInvertMatrix()
190 glRotatef(-RAD2DEG(rotAngle), frotation[0], frotation[1], frotation[2]); in getInvertMatrix()
209 double rotAngle = frotation[3]; in transformForHandle() local
214 rotAngle *= angleUnit; in transformForHandle()
403 double rotAngle = rot[3]; in setHandle() local
407 rotAngle *= angleUnit; in setHandle()
[all …]
H A DNodeGeoTransform.cpp99 double rotAngle = frotation[3]; in transform() local
104 rotAngle *= angleUnit; in transform()
117 glRotatef(RAD2DEG(rotAngle), in transform()
/dports/graphics/processing/processing-1.5.1/modes/android/examples/Topics/Simulate/SoftBody/
H A DSoftBody.pde11 float radius = 45, rotAngle = -90;
52 nodeStartX[i] = centerX+cos(radians(rotAngle))*radius;
53 nodeStartY[i] = centerY+sin(radians(rotAngle))*radius;
54 rotAngle += 360.0/nodes;
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Topics/Simulate/SoftBody/
H A DSoftBody.pde11 float radius = 45, rotAngle = -90;
52 nodeStartX[i] = centerX+cos(radians(rotAngle))*radius;
53 nodeStartY[i] = centerY+sin(radians(rotAngle))*radius;
54 rotAngle += 360.0/nodes;
/dports/graphics/cenon/Cenon/GraphicObjects.subproj/
H A DVText.m698 - (float)rotAngle
700 return rotAngle;
705 rotAngle = angle;
988 rotAngle -= angle;
989 //if (rotAngle < 0.0) rotAngle += 360.0;
990 //if (rotAngle >= 360.0) rotAngle -= 360.0; // 2012-02-27
991 rotAngle = vhfModulo(rotAngle, 360.0);
999 if ( rotAngle )
1004 rotAngle = -rotAngle;
1471 if (rotAngle)
[all …]
H A DVRectangle.m307 - (float)rotAngle
309 return rotAngle;
314 rotAngle = angle;
401 if ( rotAngle )
566 if ( rotAngle )
570 rotAngle = -rotAngle;
615 rotAngle -= angle;
1022 if (rotAngle)
1085 if ( rotAngle )
2332 if (rotAngle)
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/tools/
H A Dtool_event_utils.cpp41 const int rotAngle = aFrame.GetRotationAngle(); in GetEventRotationAngle() local
44 return rotAngle * angleMultiplier; in GetEventRotationAngle()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/applets/Fractal/
H A DCLSFractal.java73 float rotAngle = 45; field in CLSFractal
103 rotAngle = Float.valueOf(s).floatValue(); in init()
105 rotAngle = rotAngle / 360 * 2 * 3.14159265358f; in init()
243 turtle.rotate(rotAngle); in render()
246 turtle.rotate(-rotAngle); in render()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/applets/Fractal/
H A DCLSFractal.java73 float rotAngle = 45; field in CLSFractal
103 rotAngle = Float.valueOf(s).floatValue(); in init()
105 rotAngle = rotAngle / 360 * 2 * 3.14159265358f; in init()
243 turtle.rotate(rotAngle); in render()
246 turtle.rotate(-rotAngle); in render()
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/Unsynced/
H A DFlyingPiece.cpp25 rotAngle += rotSpeed; in Update()
28 transMat.Rotate(rotAngle, rotAxis); in Update()
43 rotAngle = 0.0f; in InitCommon()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/
H A Dtransform_convert_cursor.c104 td->ext->rotAngle = NULL; in createTransCursor_view3d()
112 td->ext->rotAngle = &cursor->rotation_angle; in createTransCursor_view3d()
121 td->ext->rotAngle = NULL; in createTransCursor_view3d()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/cgame/
H A Dcg_view.c912 cg.sList[ i ].rotAngle = rotAngle; in CG_addSmoothOp()
933 float stLocal, sFraction, rotAngle; in CG_smoothWWTransitions() local
963 rotAngle = 180.0f; in CG_smoothWWTransitions()
973 rotAngle = RAD2DEG( acos( ( rotAngle - 1.0f ) / 2.0f ) ); in CG_smoothWWTransitions()
988 CG_addSmoothOp( rotAxis, rotAngle, timeMod ); in CG_smoothWWTransitions()
1003 inAxis[ 0 ], sFraction * cg.sList[ i ].rotAngle ); in CG_smoothWWTransitions()
1005 inAxis[ 1 ], sFraction * cg.sList[ i ].rotAngle ); in CG_smoothWWTransitions()
1007 inAxis[ 2 ], sFraction * cg.sList[ i ].rotAngle ); in CG_smoothWWTransitions()
1056 inAxis[ 0 ], sFraction * cg.sList[ i ].rotAngle ); in CG_smoothWJTransitions()
1058 inAxis[ 1 ], sFraction * cg.sList[ i ].rotAngle ); in CG_smoothWJTransitions()
[all …]
/dports/astro/xplanet/xplanet-1.3.1/src/libprojection/
H A DProjectionBase.cpp28 const double rotAngle = options->Rotate(); in init() local
34 rotate_ = (centerLat_ != 0 || centerLon_ != 0 || rotAngle != 0); in init()
38 SetXYZRotationMatrix(rotAngle, centerLat_, -centerLon_); in init()
41 SetZYXRotationMatrix(-rotAngle, -centerLat_, centerLon_); in init()
/dports/print/lyx/lyx-2.3.4.2/src/insets/
H A DExternalTransforms.cpp67 double rotAngle = convert<double>(angle); in adjAngle() local
68 if (abs(rotAngle) > 360.0) { in adjAngle()
69 rotAngle -= 360.0 * floor(rotAngle / 360.0); in adjAngle()
70 return convert<string>(rotAngle); in adjAngle()
/dports/x11-wm/compiz-plugins-main/compiz-plugins-main-0.8.8/src/animation/
H A Dglide.c101 float rotAngle = finalRotAng * forwardProgress; in applyGlideTransform() local
102 aw->glideModRotAngle = fmodf(rotAngle + 720, 360.0f); in applyGlideTransform()
113 matrixRotate (transform, rotAngle, rotAxis.x, rotAxis.y, rotAxis.z); in applyGlideTransform()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/Inventor/
H A DPendulumCallback.cpp43 double rotAngle = //_endAngle - _startAngle - osg::PI in operator ()() local
47 transform->setMatrix(osg::Matrix::rotate(rotAngle, _axis)); in operator ()()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/Inventor/
H A DPendulumCallback.cpp43 double rotAngle = //_endAngle - _startAngle - osg::PI in operator ()() local
47 transform->setMatrix(osg::Matrix::rotate(rotAngle, _axis)); in operator ()()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/armature/
H A Dpose_transform.c172 unit_axis_angle(pchan->rotAxis, &pchan->rotAngle); in applyarmature_transfer_properties()
636 pchan->rotAngle = chan->rotAngle; in pose_bone_do_paste()
645 axis_angle_to_eulO(pchan->eul, pchan->rotmode, chan->rotAxis, chan->rotAngle); in pose_bone_do_paste()
654 eulO_to_axis_angle(pchan->rotAxis, &pchan->rotAngle, chan->eul, chan->rotmode); in pose_bone_do_paste()
657 quat_to_axis_angle(pchan->rotAxis, &pchan->rotAngle, chan->quat); in pose_bone_do_paste()
666 axis_angle_to_quat(pchan->quat, chan->rotAxis, pchan->rotAngle); in pose_bone_do_paste()
702 axis_angle_to_eulO(eul, EULER_ORDER_DEFAULT, pchan->rotAxis, pchan->rotAngle); in pose_bone_do_paste()
705 eulO_to_axis_angle(pchan->rotAxis, &pchan->rotAngle, eul, EULER_ORDER_DEFAULT); in pose_bone_do_paste()
961 pchan->rotAngle = 0.0f; in pchan_clear_rot()
1048 eulO_to_axis_angle(pchan->rotAxis, &pchan->rotAngle, eul, EULER_ORDER_DEFAULT); in pchan_clear_rot()
[all …]
/dports/math/vtk6/VTK-6.2.0/Domains/Chemistry/
H A DvtkMoleculeToBondStickFilter.cxx84 double rotAngle; in RequestData() local
112 rotAngle = -vtkMath::DegreesFromRadians in RequestData()
152 xform->RotateWXYZ(rotAngle, rotAxis); in RequestData()

12345