Advertisement
prat3492

reduced-pbc.c

Aug 19th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. typedef float rvec[3];
  2.  
  3. void test(rvec vert[])
  4. {
  5.   rvec img[1];
  6.   int tmp[1], d;
  7.   void foo (int *);
  8.  
  9.   foo (tmp);
  10.   for(d=0; d<3; d++)
  11.     vert[0][d] = img[0][d] + img[tmp[0]][d];
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement