This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 24th, 2012  |  syntax: None  |  size: 0.40 KB  |  views: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. for(int i=0;i<pointsInSpace.size();++i){
  2.     //draw rectnagle at (x,y,z)
  3. }
  4.        
  5. (-1, -1, 0)
  6. (-1,  1, 0)
  7. ( 1, -1, 0)
  8. ( 1,  1, 0)
  9.        
  10. up_dot_n_dot_n.X      up_dot_n_dot_n.Y       up_dot_n_dot_n.Z     0
  11. n.X                   n.y                    n.z                  0
  12. up_dot_n.x            up_dot_n.x             up_dot_n.z           0
  13. p.x                   p.y                    p.z                  1
clone this paste RAW Paste Data