Vixen
02b45cc4
csharp
public record class NormalizeProcessor

Scales the value to unit length, leaving anything shorter alone.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

What keeps diagonal WASD movement from being forty per cent faster than cardinal movement, and the reason it does not lengthen a short vector: a stick held gently must stay gentle, which is the difference between this and a plain Normalize.

Fields and properties (1)

  • public string Name

    The name it is written under in a .vxinput.

Methods (1)

  • public Vector2 Process(Vector2 value, int dimensions)

    Reshapes a value.

Used by (1)

  • InputProcessorFactoryVixen.Input