using UnityEngine; namespace Unity.VisualScripting { /// /// Returns the remainder of the component-wise division of two 4D vectors. /// [UnitCategory("Math/Vector 4")] [UnitTitle("Modulo")] public sealed class Vector4Modulo : Modulo { protected override Vector4 defaultDividend => Vector4.zero; protected override Vector4 defaultDivisor => Vector4.zero; public override Vector4 Operation(Vector4 a, Vector4 b) { return new Vector4 ( a.x % b.x, a.y % b.y, a.z % b.z, a.w % b.w ); } } }