15 lines
142 B
Plaintext
15 lines
142 B
Plaintext
nums=3
|
|
b=$Point001
|
|
c=$Point002
|
|
a=#()
|
|
a[1]=b
|
|
|
|
for i=1 to (nums-1) do
|
|
(
|
|
a[i+1]=point()
|
|
|
|
a[i+1].pos=(i*c.pos+(nums-i)*b.pos)/nums
|
|
|
|
)
|
|
|
|
a[nums+1]=c |