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