openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-shape
/
org.openrndr.shape
/
proportionalize
proportionalize
@
JvmName
(
name
=
"proportionalizeWithoutT"
)
fun
<
T
:
EuclideanVector
<
T
>
>
proportionalize
(
input
:
List
<
T
>
)
:
List
<
Pair
<
T
,
Double
>
>
(
source
)
fun
<
T
:
EuclideanVector
<
T
>
>
proportionalize
(
input
:
List
<
Pair
<
T
,
Double
>
>
)
:
List
<
Pair
<
T
,
Double
>
>
(
source
)