mapc(v: number, l1: number, h1: number, l2: number, h2: number): numberMap a value from one range to another range, and clamp to the dest range.