MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / startHalfwayToMax

Function startHalfwayToMax

javascript/atoms/action.js:537–539  ·  view source on GitHub ↗
(offsetVec)

Source from the content-addressed store, hash-verified

535 'Cannot rotate by an angle of zero.');
536 }
537 function startHalfwayToMax(offsetVec) {
538 offsetVec.scale(0.5);
539 }
540 var halfRadians = Math.PI * (angle / 180) / 2;
541 function rotateByHalfAngle(offsetVec) {
542 offsetVec.rotate(halfRadians);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected