| 782 | } |
| 783 | |
| 784 | void Actor::SetOrientation(const Quaternion& value) |
| 785 | { |
| 786 | CHECK(!value.IsNanOrInfinity()); |
| 787 | if (_transform.Orientation != value) |
| 788 | { |
| 789 | if (_parent) |
| 790 | _parent->_transform.WorldToLocal(value, _localTransform.Orientation); |
| 791 | else |
| 792 | _localTransform.Orientation = value; |
| 793 | OnTransformChanged(); |
| 794 | } |
| 795 | } |
| 796 | |
| 797 | void Actor::SetScale(const Float3& value) |
| 798 | { |
no test coverage detected