[Fluxus] Pdata-index-map! again

Luis navarro del angel luisn30 at hotmail.com
Tue Oct 19 16:02:05 PDT 2010



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? 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20101019/b4011b1c/attachment.html>


More information about the Fluxus mailing list