<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Hi, <br><br>So you're saying that pdata-index-map! supplies to me the current index number of the array as it is passing by.<br><br>for example, <br><br>(clear)<br>(define torus (build-torus 1 2 30 30))<br><br>(with-primitive torus<br>(pdata-index-map!<br>(lambda (index position)<br>(vadd position (vector (gh index) 0 0)))<br>"p"))<br><br>the "index" part is going to return numbers from 0 to pdata size, right? <br>                                          </body>
</html>