Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int32 x = 0; x < NodeCountX - 1; x++)
- {
- for (int32 y = 0; y < NodeCountY - 1; y++)
- {
- // TopLeft TopRight BotRight BotLeft
- // [x,y+1] [x+1,y+1] [x+1,y] [x,y]
- int32 CurrentNode = ((x*(NodeCountY)) + y);
- Squares.Add(Square(ControlNodes[CurrentNodeTopLeft ], ControlNodes[CurrentNodeTopRight ], ControlNodes[CurrentNodeBotRight ], ControlNodes[CurrentNodeBotLeft]));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement