Hi, 

So you're saying that pdata-index-map! supplies to me the current index number 
of the array as it is passing by.

for example, 

(clear)
(define torus (build-torus 1 2 30 30))

(with-primitive torus
(pdata-index-map!
(lambda (index position)
(vadd position (vector (gh index) 0 0)))
"p"))

the "index" part is going to return numbers from 0 to pdata size, right? 
                                          

Reply via email to