WeaverUtilities.

LinearRescaleTo01(float, float, float) Method

Summary

Re-scales `value` from the old range (`oldMin` to `oldMax`) to the new range (0 to 1).
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static float LinearRescaleTo01(this float value, float oldMin, float oldMax)

Parameters

Name Type Description
value float
oldMin float
oldMax float

Return Value

Type Description
float