两个函数对等 很好的说明了maped
function r_color x =
x.wireColor = random (color 0 0 0) (color 255 255 255)
for i in selection do
r_color i
mapped function rand_color x =
x.wireColor = random (color 0 0 0) (color 255 255 255)
rand_color $
function r_color x =
x.wireColor = random (color 0 0 0) (color 255 255 255)
for i in selection do
r_color i
mapped function rand_color x =
x.wireColor = random (color 0 0 0) (color 255 255 255)
rand_color $