MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / norm

Method norm

src/com/cloudream/ishow/util/MathUtils.java:179–182  ·  view source on GitHub ↗
(float start, float stop, float value)

Source from the content-addressed store, hash-verified

177 }
178
179 public static float norm(float start, float stop, float value)
180 {
181 return (value - start) / (stop - start);
182 }
183
184 public static float map(float minStart, float minStop, float maxStart, float maxStop, float value)
185 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected