/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/core/src/application/ |
H A D | ZLApplicationActions.cpp | 36 ZLView::Angle newAngle = ZLView::DEGREES0; in run() local 40 newAngle = ZLView::DEGREES90; in run() 43 newAngle = ZLView::DEGREES180; in run() 46 newAngle = ZLView::DEGREES270; in run() 49 newAngle = ZLView::DEGREES0; in run() 53 newAngle = (oldAngle == ZLView::DEGREES0) ? in run() 56 application.myViewWidget->rotate(newAngle); in run() 57 application.AngleStateOption.setValue(newAngle); in run()
|
/dports/audio/artyfx-lv2/openAV-ArtyFX-release-1.3-24-g6010d1a/src/ui/graphs/ |
H A D | masher.cxx | 27 int newAngle = ( time * 4.9f); in draw() local 31 if ( newAngle == 0 ) in draw() 33 else if ( newAngle == 1 ) in draw() 35 else if ( newAngle <= 2 ) in draw() 37 else if ( newAngle <= 3 ) in draw() 50 if ( newAngle == 0 ) in draw() 52 else if ( newAngle == 1 ) in draw() 54 else if ( newAngle <= 2 ) in draw() 56 else if ( newAngle <= 3 ) in draw()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Editable/EditEngines/ |
H A D | ArrowedEditEngine.cs | 106 double newAngle = 0d; in arrowAngleOffsetMinus_Clicked() 110 --newAngle; in arrowAngleOffsetMinus_Clicked() 112 if (newAngle < -89d) in arrowAngleOffsetMinus_Clicked() 114 newAngle = -89d; in arrowAngleOffsetMinus_Clicked() 119 newAngle = 0d; in arrowAngleOffsetMinus_Clicked() 127 double newAngle = 0d; in arrowAngleOffsetPlus_Clicked() 131 ++newAngle; in arrowAngleOffsetPlus_Clicked() 133 if (newAngle > 89d) in arrowAngleOffsetPlus_Clicked() 135 newAngle = 89d; in arrowAngleOffsetPlus_Clicked() 140 newAngle = 0d; in arrowAngleOffsetPlus_Clicked() [all …]
|
/dports/astro/marble/marble-21.12.3/src/lib/marble/routing/instructions/ |
H A D | InstructionTransformation.cpp | 20 int newAngle = 180 + lastAngle; in process() local 22 newAngle = qRound( 180.0 / M_PI * item.point().bearing( model[i+1].point() ) ); in process() 24 int angle = ( newAngle - lastAngle + 540 ) % 360; in process() 29 lastAngle = newAngle; in process()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/ |
H A D | AnglePickerGraphic.cs | 91 double newAngle = (theta * 360) / (2 * Math.PI); in ProcessMouseEvent() 93 if (newAngle < 0) in ProcessMouseEvent() 94 newAngle = newAngle + 360; in ProcessMouseEvent() 99 double multiple = newAngle / constraintAngle; in ProcessMouseEvent() 112 newAngle = bestMultiple * constraintAngle; in ProcessMouseEvent() 115 this.ValueDouble = newAngle; in ProcessMouseEvent()
|
/dports/games/scummvm/scummvm-2.5.1/engines/twine/scene/ |
H A D | collision.cpp | 200 …const int32 newAngle = _engine->_movements->getAngleAndSetTargetActorDistance(processActor, actorT… in handlePushing() local 206 …if (newAngle >= ANGLE_45 && newAngle < ANGLE_135 && actor->_angle > ANGLE_45 && actor->_angle < AN… in handlePushing() 209 …if (newAngle >= ANGLE_135 && newAngle < ANGLE_225 && actor->_angle > ANGLE_135 && actor->_angle < … in handlePushing() 212 …if (newAngle >= ANGLE_225 && newAngle < ANGLE_315 && actor->_angle > ANGLE_225 && actor->_angle < … in handlePushing() 215 …if ((newAngle >= ANGLE_315 || newAngle < ANGLE_45) && (actor->_angle > ANGLE_315 || actor->_angle … in handlePushing() 226 if (newAngle < ANGLE_135) { in handlePushing() 229 if (newAngle >= ANGLE_135 && newAngle < ANGLE_225) { in handlePushing() 232 if (newAngle >= ANGLE_225 && newAngle < ANGLE_315) { in handlePushing() 235 if (newAngle >= ANGLE_315 || (newAngle < ANGLE_315 && newAngle < ANGLE_45)) { in handlePushing()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/input/ |
H A D | kis_rotate_canvas_action.cpp | 121 const qreal newAngle = atan2(newPoint.y(), newPoint.x()); in cursorMovedAbsolute() local 123 qreal newRotation = (180 / M_PI) * (newAngle - oldAngle); in cursorMovedAbsolute() 191 qreal newAngle = atan2(slope.y(), slope.x()); in inputEvent() local 192 qreal delta = (180 / M_PI) * (newAngle - d->previousAngle); in inputEvent() 203 d->previousAngle = newAngle; in inputEvent() 211 d->previousAngle = newAngle; in inputEvent()
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/ |
H A D | canvasmode_rotate.cpp | 92 …double newAngle = xy2Deg(m_canvasCurrCoord.x() - m_rotCenter.x(), m_canvasCurrCoord.y() - m_rotCen… in getNewItemPosition() local 95 newAngle = constrainAngle(newAngle, m_doc->opToolPrefs().constrain); in getNewItemPosition() 99 newAngle = m_doc->m_Selection->isMultipleSelection() ? (newAngle - m_view->oldW) : newAngle; in getNewItemPosition() 102 newAngle = (newAngle - m_startAngle); in getNewItemPosition() 104 newAngle = item->rotation() - (m_startAngle - newAngle); in getNewItemPosition() 110 ma.rotate(newAngle); in getNewItemPosition() 113 rotation = item->rotation() + newAngle; in getNewItemPosition() 122 double ro = newAngle - item->rotation(); in getNewItemPosition() 144 rotation = newAngle; in getNewItemPosition() 149 rotation = newAngle; in getNewItemPosition()
|
H A D | util_math.cpp | 489 double newAngle = angle; in constrainAngle() local 491 if (newAngle < 0.0) in constrainAngle() 492 newAngle += 360.0; in constrainAngle() 493 newAngle = qRound(newAngle / constrainTo) * constrainTo; in constrainAngle() 494 if (newAngle == 360.0) in constrainAngle() 495 newAngle = 0.0; in constrainAngle() 496 return newAngle; in constrainAngle()
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/items/ |
H A D | AbstractAnnotationLine.cpp | 104 auto newAngle = MathHelper::roundAngleTo(mLine->angle(), 45); in snapToAngle() local 105 mLine->setAngle(newAngle); in snapToAngle() 114 auto newAngle = MathHelper::roundAngleTo(angle, 45); in getSnapPoint() local 115 line.setAngle(newAngle); in getSnapPoint()
|
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/ |
H A D | MaceFX4.vc | 92 int newAngle; 106 newAngle = false; 119 newAngle = true; 136 newAngle = true; 142 if (newAngle)
|
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/MiniCore/src/Core/ |
H A D | mcobject.cc | 411 void rotate(float newAngle, bool updateChildTransforms) in rotate() argument 413 doRotate(newAngle); in rotate() 414 m_angle = newAngle; in rotate() 422 void rotateRelative(float newAngle) in rotateRelative() argument 424 m_relativeAngle = newAngle; in rotateRelative() 607 void doRotate(float newAngle) in doRotate() argument 610 rotateShape(newAngle); in doRotate() 646 child->rotate(newAngle); in updateChildTransforms() 970 m_impl->rotate(newAngle, updateChildTransforms); in rotate() 973 void MCObject::rotateRelative(float newAngle) in rotateRelative() argument [all …]
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/units/ |
H A D | TankBase.cpp | 69 void TankBase::setTurretAngle(int newAngle) { in setTurretAngle() argument 70 if((newAngle >= 0) && (newAngle < NUM_ANGLES)) { in setTurretAngle() 71 turretAngle = drawnTurretAngle = newAngle; in setTurretAngle()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/ |
H A D | kaleido.cpp | 46 double newAngle = qAngle - (section + 1) * m_angle; in invMap() local 48 results[0].x = normQ * cos(newAngle) + m_shift.x; in invMap() 49 results[0].y = -normQ * sin(newAngle) + m_shift.y; in invMap() 51 double newAngle = qAngle - section * m_angle; in invMap() local 53 results[0].x = normQ * cos(newAngle) + m_shift.x; in invMap() 54 results[0].y = normQ * sin(newAngle) + m_shift.y; in invMap()
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/ |
H A D | ParallelTexCoordSystem.cpp | 90 …llelTexCoordSystem::doSetRotation(const Vec3& normal, const float oldAngle, const float newAngle) { in doSetRotation() argument 91 const float angleDelta = newAngle - oldAngle; in doSetRotation() 119 … const float newAngle = Math::correct(Math::normalizeDegrees(attribs.rotation() + angleDelta), 4); in doTransform() local 120 assert(!Math::isnan(newAngle)); in doTransform() 121 attribs.setRotation(newAngle); in doTransform()
|
/dports/graphics/wings/wings-8d019ebe48/plugins_src/autouv/shaders/ |
H A D | stripes.fs | 27 float newAngle = Angle + rotation; // offset original angle by certain rotation 30 vec2 rotatedCoords = vec2( len * sin(newAngle), len * cos(newAngle) ); // new rotated coords
|
/dports/audio/luppp/openAV-Luppp-release-1.2.1/src/avtk/ |
H A D | avtk_radial_status.h | 89 int newAngle = (value() * 16); in draw() local 92 previousAngle != newAngle ) { in draw() 103 float angle = newAngle / 16.f; in draw()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/front_end/inline_editor/ |
H A D | CSSAngleEditor.ts | 85 const newAngle = getNewAngleFromEvent(this.angle, event); constant 86 if (newAngle) { 87 this.onAngleUpdate(newAngle);
|
H A D | CSSAngle.ts | 198 const newAngle = getNewAngleFromEvent(this.angle, event); constant 199 if (newAngle) { 200 this.updateAngle(newAngle);
|
/dports/games/scummvm/scummvm-2.5.1/engines/twine/script/ |
H A D | script_move_v1.cpp | 119 …const int32 newAngle = engine->_movements->getAngleAndSetTargetActorDistance(ctx.actor->_pos.x, ct… in mGOTO_POINT() local 122 ctx.actor->_angle = newAngle; in mGOTO_POINT() 124 engine->_movements->moveActor(ctx.actor->_angle, newAngle, ctx.actor->_speed, &ctx.actor->_move); in mGOTO_POINT() 241 …const int32 newAngle = ANGLE_180 + engine->_movements->getAngleAndSetTargetActorDistance(ctx.actor… in mGOTO_SYM_POINT() local 244 ctx.actor->_angle = newAngle; in mGOTO_SYM_POINT() 246 engine->_movements->moveActor(ctx.actor->_angle, newAngle, ctx.actor->_speed, &ctx.actor->_move); in mGOTO_SYM_POINT() 632 const int32 newAngle = ctx.actor->_angle + ANGLE_90 + (ABS(val1) >> 1); in mANGLE_RND() local 633 engine->_scene->_currentScriptValue = ClampAngle(newAngle - engine->getRandomNumber(val1)); in mANGLE_RND() 635 const int32 newAngle = ctx.actor->_angle - ANGLE_90 + (ABS(val1) >> 1); in mANGLE_RND() local 636 engine->_scene->_currentScriptValue = ClampAngle(newAngle - engine->getRandomNumber(val1)); in mANGLE_RND()
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/common/helper/ |
H A D | MathHelper.cpp | 29 auto newAngle = qFloor(currentAngle + requiredRoundup); in roundAngleTo() local 30 return newAngle; in roundAngleTo()
|
/dports/databases/pgadmin3/pgadmin3-1.22.2/pgadmin/hotdraw/connectors/ |
H A D | hdStickyRectangleConnector.cpp | 40 void hdStickyRectangleConnector::setAngle(float newAngle) in setAngle() argument 42 angle = newAngle; in setAngle()
|
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenVR/ |
H A D | vtkOpenVRRenderWindowInteractor.cxx | 697 double newAngle = in RecognizeComplexGesture() local 702 double angleDeviation = newAngle - originalAngle; in RecognizeComplexGesture() 703 newAngle = (newAngle + 180.0 >= 360.0 ? newAngle - 180.0 : newAngle + 180.0); in RecognizeComplexGesture() 705 if (fabs(newAngle - originalAngle) < fabs(angleDeviation)) in RecognizeComplexGesture() 707 angleDeviation = newAngle - originalAngle; in RecognizeComplexGesture()
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/ui/editor/ |
H A D | CropRotateManager.java | 205 double newAngle = (crop != null) ? crop.getAngle() : 0; in limitRotation() local 206 while (newAngle - oldAngle > Math.PI / 4) { in limitRotation() 212 newAngle = crop.getAngle(); in limitRotation() 214 while (newAngle - oldAngle < - Math.PI / 4) { in limitRotation() 220 newAngle = crop.getAngle(); in limitRotation()
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/common/helper/ |
H A D | MathHelperTest.cpp | 28 auto newAngle = MathHelper::roundAngleTo(angle, increment); in TestRoundAngleTo_Should_ReturnAngleRoundedUpToIncrement() local 30 QCOMPARE(newAngle, result); in TestRoundAngleTo_Should_ReturnAngleRoundedUpToIncrement()
|