private void OnRotationWheelChanged(float radians)
        {
            float degrees  = (RotationWheel.Value - radians) * 57.29578f;
            float degrees2 = RotateClamp360Degrees(degrees);

            if (isValidRotation(degrees2) && objectManipulationInputController.CurrentlySelectedObject != null)
            {
                ObjectManipulator componentInParent = objectManipulationInputController.CurrentlySelectedObject.GetComponentInParent <ObjectManipulator>();
                if (componentInParent != null)
                {
                    componentInParent.RotateBy(degrees2);
                }
            }
        }
        private void RotatedSelectedItem(ObjectManipulator m, float delta)
        {
            ManipulatableObject componentInParent             = objectManipulationInputController.CurrentlySelectedObject.GetComponentInParent <ManipulatableObject>();
            Dictionary <int, DecorationDefinition> dictionary = Service.Get <IGameData>().Get <Dictionary <int, DecorationDefinition> >();

            if (dictionary.ContainsKey(componentInParent.DefinitionId))
            {
                DecorationDefinition decorationDefinition = dictionary[componentInParent.DefinitionId];
                float degrees  = m.CurrentRotationDegreesAroundUp + delta;
                float degrees2 = RotateClamp360Degrees(degrees);
                if (isValidRotation(degrees2))
                {
                    m.RotateBy(delta);
                }
            }
        }