title: GLSL correspondence of dot( sina, 1..xxxx ) in CG
body: <p>Hi I am trying to convert a CG shader into GLSL shader. It is quite similar but I couldn't find the correspondence for </p>
  
  <pre><code>dot( sina, 1..xxxx ); 
  </code></pre>
  
  <p>Could you explain what this line does and help me to write GLSL equivalent.  </p>