public ScaleAction(GL_ControlBase control, Point mousePos, Vector3 center) { this.control = control; startMousePos = mousePos; this.center = center; centerPoint = control.ScreenCoordFor(center); }
public ScaleActionIndividual(GL_ControlBase control, Point mousePos, EditableObject.LocalOrientation orientation) { this.control = control; startMousePos = mousePos; this.orientation = orientation; centerPoint = control.ScreenCoordFor(orientation.Origin); }
public RotateAction(GL_ControlBase control, Point mousePos, Vector3 center, float draggingDepth) { this.control = control; startMousePos = mousePos; this.center = center; planeOrigin = control.CoordFor(mousePos.X, mousePos.Y, draggingDepth); centerPoint = control.ScreenCoordFor(center); }