Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PointF[] RectForEntry(int i)
- {
- var w = 32;
- var h = 16;
- return new PointF[]
- {
- new PointF(i * w, i * h), // top-left
- new PointF(i * w + w, i * h + h), // top-right
- new PointF(i * w + w, i * h), // bottom-right
- new PointF(i * w, i * h + h) // bottom-left
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement