Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Returns a unit-length value while handling degenerate input according to the method contract.

API: engine
Project: Inno.Core.Mathematics

public static Inno.Core.Mathematics.Vector2 Inno.Core.Mathematics.Vector2.NormalizeSafe(Inno.Core.Mathematics.Vector2 value, float epsilon = 1E-06)

Parameter value: The concrete value read or transformed by this operation.

Parameter epsilon: The positive tolerance below which input is treated as degenerate.

The validated vector2 that represents the completed operation.