Home
last modified time | relevance | path

Searched refs:lastRotation (Results 1 – 9 of 9) sorted by relevance

/dports/games/glest/glest_source_3.2.2/source/glest_game/type_instances/
H A Dunit.cpp135 lastRotation= rot; in Unit()
601 if(abs(lastRotation-targetRotation)<180) in update()
602 rotation= lastRotation+(targetRotation-lastRotation)*progress*rotFactor; in update()
604 float rotationTerm= targetRotation>lastRotation? -360.f: +360.f; in update()
605 rotation= lastRotation+(targetRotation-lastRotation+rotationTerm)*progress*rotFactor; in update()
618 lastRotation= targetRotation; in update()
H A Dunit.h156 float lastRotation; //in degrees variable
/dports/devel/flex-sdk/flex-sdk-4.6.0.23201/frameworks/projects/spark/src/spark/effects/supportClasses/
H A DRotateInstance.as118 private var lastRotation:Number;
213 lastRotation = getCurrentValue("rotation");
214 var radVal:Number = Math.PI * lastRotation / 180;
279 if (Math.abs(targetRotation - lastRotation) > 0.1)
312 lastRotation = getCurrentValue("rotation");
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/tools/
H A DEditSelectionContents.cpp405 bool rotate = (std::abs(this->rotation - this->lastRotation) > __DBL_EPSILON__); in updateContent()
415 snappedBounds.y + snappedBounds.height / 2, rotation - this->lastRotation)); in updateContent()
417 this->lastRotation = rotation; // undo one rotation at a time. in updateContent()
453 cairo_matrix_rotate(&rotMatrix, this->lastRotation); in updateContent()
458 … this->lastRotation, restoreLineWidth)); in updateContent()
H A DEditSelectionContents.h174 double lastRotation = 0; // for undoing multiple rotations during one selection edit. variable
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/
H A DFCDocumentTools.cpp94 FCDTRotation* lastRotation = GetLastTransformForPivot(node); in SmartAddRotationPivot() local
95 …if (lastRotation != NULL && IsEquivalent(lastRotation->GetAxis(), axis) && IsEquivalent(lastRotati… in SmartAddRotationPivot()
97 SAFE_RELEASE(lastRotation); in SmartAddRotationPivot()
98 lastRotation = GetLastTransformForPivot(node); in SmartAddRotationPivot()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/type_instances/
H A Dunit.cpp631 lastRotation= rot; in Unit()
866 lastRotation = targetRotation = rotation = value * 90.f; in setModelFacing()
2762 if(abs((int)(lastRotation-targetRotation)) < 180) in update()
2763 rotation= lastRotation + (targetRotation - lastRotation) * in update()
2766 float rotationTerm = targetRotation > lastRotation ? -360.f: +360.f; in update()
2767 rotation = lastRotation + (targetRotation - lastRotation + rotationTerm) * in update()
2852 lastRotation= targetRotation; in update()
4798 result += " lastRotation = " + floatToStr(this->lastRotation,6); in toString()
4944 unitNode->addAttribute("lastRotation",floatToStr(lastRotation,6), mapTagReplacements); in saveGame()
5215 result->lastRotation = unitNode->getAttribute("lastRotation")->getFloatValue();
[all …]
H A Dunit.h387 float lastRotation; //in degrees variable
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/win-dshow/
H A Dwin-dshow.cpp197 long lastRotation = 0; member
528 if (autorotation && rotation != lastRotation) { in OnVideoData()
529 lastRotation = rotation; in OnVideoData()