Home
last modified time | relevance | path

Searched refs:newRotation (Results 1 – 25 of 149) sorted by relevance

123456

/dports/science/InsightToolkit/ITK-5.0.1/Modules/Numerics/Optimizers/src/
H A DitkVersorRigid3DTransformOptimizer.cxx71 VersorType newRotation = currentRotation * gradientRotation; in StepAlongGradient() local
75 newParameters[0] = newRotation.GetX(); in StepAlongGradient()
76 newParameters[1] = newRotation.GetY(); in StepAlongGradient()
77 newParameters[2] = newRotation.GetZ(); in StepAlongGradient()
H A DitkVersorTransformOptimizer.cxx71 VersorType newRotation = currentRotation * gradientRotation; in StepAlongGradient() local
75 newParameters[0] = newRotation.GetX(); in StepAlongGradient()
76 newParameters[1] = newRotation.GetY(); in StepAlongGradient()
77 newParameters[2] = newRotation.GetZ(); in StepAlongGradient()
/dports/graphics/krita/krita-4.4.8/libs/ui/input/
H A Dkis_rotate_canvas_action.cpp123 qreal newRotation = (180 / M_PI) * (newAngle - oldAngle); in cursorMovedAbsolute() local
129 if (qAbs(newRotation) > 0.5 * angleStep) { in cursorMovedAbsolute()
131 const qreal desiredOffset = newRotation - d->previousRotation; in cursorMovedAbsolute()
132newRotation = qRound((currentCanvasRotation + desiredOffset) / angleStep) * angleStep - currentCan… in cursorMovedAbsolute()
134 newRotation = d->previousRotation; in cursorMovedAbsolute()
140 canvasController->rotateCanvas(newRotation - d->previousRotation); in cursorMovedAbsolute()
141 d->previousRotation = newRotation; in cursorMovedAbsolute()
/dports/x11/plasma5-plasma-desktop/plasma-desktop-5.23.5/containments/desktop/package/contents/ui/
H A DConfigOverlay.qml132 …var newRotation = Math.round(pointAngle(centerRelativePos(mouse.x, mouse.y)) - startCenterRelative…
134 if (newRotation < 0) {
135 newRotation = newRotation + 360;
136 } else if (newRotation >= 360) {
137 newRotation = newRotation % 360;
146 if (newRotation > (snapTo - snap) && newRotation < (snapTo + snap)) {
147 newRotation = snapTo;
150 //print("Start: " + startRotation + " new: " + newRotation);
151 overlay.itemContainer.rotation = newRotation;
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Graphics/
H A DAnimationState.cpp510 Quaternion newRotation; in ApplyTrack() local
524 newRotation = keyFrame->rotation_.Slerp(nextKeyFrame->rotation_, t); in ApplyTrack()
533 newRotation = keyFrame->rotation_; in ApplyTrack()
547 Quaternion delta = newRotation * stateTrack.bone_->initialRotation_.Inverse(); in ApplyTrack()
548 newRotation = (delta * node->GetRotation()).Normalized(); in ApplyTrack()
550 newRotation = node->GetRotation().Slerp(newRotation, weight); in ApplyTrack()
565 newRotation = node->GetRotation().Slerp(newRotation, weight); in ApplyTrack()
576 node->SetRotationSilent(newRotation); in ApplyTrack()
585 node->SetRotation(newRotation); in ApplyTrack()
/dports/graphics/okular/okular-21.12.3/core/
H A Drotationjob.cpp13 RotationJob::RotationJob(const QImage &image, Rotation oldRotation, Rotation newRotation, DocumentO… in RotationJob() argument
14 : ThreadWeaver::QObjectDecorator(new RotationJobInternal(image, oldRotation, newRotation)) in RotationJob()
94 …onJobInternal::RotationJobInternal(const QImage &image, Rotation oldRotation, Rotation newRotation) in RotationJobInternal() argument
97 , mNewRotation(newRotation) in RotationJobInternal()
H A Drotationjob_p.h40 RotationJobInternal(const QImage &image, Rotation oldRotation, Rotation newRotation);
52 …RotationJob(const QImage &image, Rotation oldRotation, Rotation newRotation, DocumentObserver *obs…
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/
H A DRotatedBuffer.cpp566 IntPoint newRotation = mBufferRotation + in BeginPaint() local
568 WrapRotationAxis(&newRotation.x, mBufferRect.width); in BeginPaint()
569 WrapRotationAxis(&newRotation.y, mBufferRect.height); in BeginPaint()
570 NS_ASSERTION(gfx::IntRect(gfx::IntPoint(0,0), mBufferRect.Size()).Contains(newRotation), in BeginPaint()
572 int32_t xBoundary = destBufferRect.XMost() - newRotation.x; in BeginPaint()
573 int32_t yBoundary = destBufferRect.YMost() - newRotation.y; in BeginPaint()
577 (newRotation != IntPoint(0,0) && !canHaveRotation)) { in BeginPaint()
612 newRotation.x * bytesPerPixel, newRotation.y); in BeginPaint()
625 newRotation.x * bytesPerPixel, newRotation.y); in BeginPaint()
652 mBufferRotation = newRotation; in BeginPaint()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DParaxialTexCoordSystem.cpp184 const float newRotation = Math::correct(Math::normalizeDegrees(Math::degrees(rad)), 4); in doTransform() local
185 doSetRotation(newNormal, newRotation, newRotation); in doTransform()
209 assert(!Math::isnan(newRotation)); in doTransform()
215 attribs.setRotation(newRotation); in doTransform()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Transform/include/
H A DitkVersorRigid3DTransform.hxx199 VersorType newRotation = currentRotation * gradientRotation; in UpdateTransformParameters() local
203 newParameters[0] = newRotation.GetX(); in UpdateTransformParameters()
204 newParameters[1] = newRotation.GetY(); in UpdateTransformParameters()
205 newParameters[2] = newRotation.GetZ(); in UpdateTransformParameters()
/dports/graphics/tiled/tiled-1.7.2/src/tiled/
H A Drotatemapobject.cpp43 qreal newRotation, in RotateMapObject() argument
48 , mNewRotation(newRotation) in RotateMapObject()
/dports/x11-fonts/py-fontMath/fontMath-0.4.9/Lib/fontMath/
H A DmathTransform.py55 newRotation = self.rotation[0]+other.rotation[0],self.rotation[1]+other.rotation[1]
56 return self.__class__(newOffset, newScale, newRotation)
62 newRotation = self.rotation[0]-other.rotation[0],self.rotation[1]-other.rotation[1]
63 return self.__class__(newOffset, newScale, newRotation)
72 newRotation = self.rotation[0]*fx,self.rotation[1]*fy
73 return self.__class__(newOffset, newScale, newRotation)
87 newRotation = self.rotation[0]/fx,self.rotation[1]/fy
88 return self.__class__(newOffset, newScale, newRotation)
/dports/graphics/autopano-sift-c/autopano-sift-C-2.5.1/
H A DBondBall.c230 double newRotation = fit->trans->rotationAngle + in BondBall_EstimateImage() local
232 newRotation = (newRotation / (2.0 * M_PI)) * 360.0; in BondBall_EstimateImage()
275 return (Position_new (yaw, pitch, newRotation)); in BondBall_EstimateImage()
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/physics/
H A DPush.cpp715 idRotation newRotation; in TryRotatePushEntity() local
744 ClipEntityRotation( results, check, clipModel, NULL, newRotation ); in TryRotatePushEntity()
766 newRotation = rotation; in TryRotatePushEntity()
767 newRotation.Scale( -1 ); in TryRotatePushEntity()
769 ClipEntityRotation( results, check, clipModel, NULL, newRotation ); in TryRotatePushEntity()
788 newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); in TryRotatePushEntity()
789 ClipEntityRotation( trace, check, NULL, clipModel, newRotation ); in TryRotatePushEntity()
805 newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); in TryRotatePushEntity()
807 newRotation.RotatePoint( rotationPoint ); in TryRotatePushEntity()
810 physics->Rotate( newRotation ); in TryRotatePushEntity()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/physics/
H A DPush.cpp715 idRotation newRotation; in TryRotatePushEntity() local
744 ClipEntityRotation( results, check, clipModel, NULL, newRotation ); in TryRotatePushEntity()
766 newRotation = rotation; in TryRotatePushEntity()
767 newRotation.Scale( -1 ); in TryRotatePushEntity()
769 ClipEntityRotation( results, check, clipModel, NULL, newRotation ); in TryRotatePushEntity()
788 newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); in TryRotatePushEntity()
789 ClipEntityRotation( trace, check, NULL, clipModel, newRotation ); in TryRotatePushEntity()
805 newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); in TryRotatePushEntity()
807 newRotation.RotatePoint( rotationPoint ); in TryRotatePushEntity()
810 physics->Rotate( newRotation ); in TryRotatePushEntity()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/
H A DRotatedBuffer.cpp287 IntPoint newRotation = in AdjustedParameters() local
289 WrapRotationAxis(&newRotation.x, mBufferRect.Width()); in AdjustedParameters()
290 WrapRotationAxis(&newRotation.y, mBufferRect.Height()); in AdjustedParameters()
292 .Contains(newRotation), in AdjustedParameters()
295 return Parameters{aDestBufferRect, newRotation}; in AdjustedParameters()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/
H A DRotatedBuffer.cpp287 IntPoint newRotation = in AdjustedParameters() local
289 WrapRotationAxis(&newRotation.x, mBufferRect.Width()); in AdjustedParameters()
290 WrapRotationAxis(&newRotation.y, mBufferRect.Height()); in AdjustedParameters()
292 .Contains(newRotation), in AdjustedParameters()
295 return Parameters{aDestBufferRect, newRotation}; in AdjustedParameters()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/
H A DRotatedBuffer.cpp287 IntPoint newRotation = in AdjustedParameters() local
289 WrapRotationAxis(&newRotation.x, mBufferRect.Width()); in AdjustedParameters()
290 WrapRotationAxis(&newRotation.y, mBufferRect.Height()); in AdjustedParameters()
292 .Contains(newRotation), in AdjustedParameters()
295 return Parameters{aDestBufferRect, newRotation}; in AdjustedParameters()
/dports/biology/avida/avida-2.12.4-src/apps/viewer-macos/frameworks/CorePlot/Source/
H A DCPTAnnotation.m136 -(void)setRotation:(CGFloat)newRotation
138 if ( newRotation != rotation ) {
139 rotation = newRotation;
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgGA/
H A DStandardManipulator.cpp621 Quat newRotation; in rotateYawPitch() local
631 newRotation = rotation * rotateYaw * rotatePitch; in rotateYawPitch()
635 fixVerticalAxis( newRotation, localUp, false ); in rotateYawPitch()
638 Vec3d newCameraUp = newRotation * Vec3d( 0.,1.,0. ); in rotateYawPitch()
643 rotation = newRotation; in rotateYawPitch()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgGA/
H A DStandardManipulator.cpp618 Quat newRotation; in rotateYawPitch() local
628 newRotation = rotation * rotateYaw * rotatePitch; in rotateYawPitch()
632 fixVerticalAxis( newRotation, localUp, false ); in rotateYawPitch()
635 Vec3d newCameraUp = newRotation * Vec3d( 0.,1.,0. ); in rotateYawPitch()
640 rotation = newRotation; in rotateYawPitch()
/dports/cad/librepcb/librepcb-0.1.6/libs/librepcb/project/schematics/items/
H A Dsi_symbol.cpp166 void SI_Symbol::setRotation(const Angle& newRotation) noexcept { in setRotation() argument
167 if (newRotation != mRotation) { in setRotation()
168 mRotation = newRotation; in setRotation()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/
H A DRotatedBuffer.cpp294 IntPoint newRotation = in AdjustedParameters() local
296 WrapRotationAxis(&newRotation.x, mBufferRect.Width()); in AdjustedParameters()
297 WrapRotationAxis(&newRotation.y, mBufferRect.Height()); in AdjustedParameters()
299 .Contains(newRotation), in AdjustedParameters()
302 return Parameters{aDestBufferRect, newRotation}; in AdjustedParameters()
/dports/graphics/tiled/tiled-1.7.2/src/libtiled/
H A Dmapobject.cpp333 qreal newRotation = 0; in flip() local
335 newRotation = 180.0 - rotation(); in flip()
339 newRotation = -rotation(); in flip()
352 setRotation(newRotation); in flip()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DTileInspector.cpp282 uint8_t newRotation, pathEdges, pathCorners; in RotateElementAt() local
294newRotation = (tileElement->AsPath()->GetSlopeDirection() + 1) & TILE_ELEMENT_DIRECTION_MASK; in RotateElementAt()
295 tileElement->AsPath()->SetSlopeDirection(newRotation); in RotateElementAt()
305 newRotation = tileElement->GetDirectionWithOffset(1); in RotateElementAt()
306 tileElement->SetDirection(newRotation); in RotateElementAt()
322 …ide_set_entrance_location(ride, stationIndex, { entrance.x, entrance.y, entrance.z, newRotation }); in RotateElementAt()
328 … ride_set_exit_location(ride, stationIndex, { exit.x, exit.y, exit.z, newRotation }); in RotateElementAt()
336 newRotation = tileElement->GetDirectionWithOffset(1); in RotateElementAt()
337 tileElement->SetDirection(newRotation); in RotateElementAt()

123456