Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Point OutlineFaces::LinePoint(int line, int point) const
- {
- int sz = counts.size();
- int sz2 = counts2.size();
- if (line<0 ||line>=sz) return Point(0.0,0.0,0.0);
- if (line<0 ||line>=sz2) return Point(0.0,0.0,0.0);
- int count = 0;
- int i=0;
- int ss = c.NumPoints(i);
- i = counts[line];
- count = counts2[line] + ss;
- int p = count - line + point;
- int pp = p % ss;
- return c.FacePoint(i, pp);
- }
Advertisement
Add Comment
Please, Sign In to add comment