using UnityEngine; namespace Unity.VisualScripting { /// /// Returns the component-wise quotient of two 4D vectors. /// [UnitCategory("Math/Vector 4")] [UnitTitle("Divide")] public sealed class Vector4Divide : Divide { 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 ); } } }