Advertisement
Dorex

Untitled

Jun 30th, 2023
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. primSizeX
  2. primSizeY
  3.  
  4. width = primCount/2;
  5. height = primCount/2
  6.  
  7. mainPrimXLocation;
  8. mainPrimYLocation;
  9.  
  10. integer xPosition;
  11. integer yPosition;
  12.  
  13. for (yPosition = 0; yPosition < width; yPosition++){
  14.  
  15. for (xPosition = 0; xPosition < width; xPosition++){
  16.  
  17. primpositionX = mainPrimXLocation + (mainPrimXLocation * xPosition);
  18. primpositionY = mainPrimYLocation - (mainPrimYLocation * yPosition);
  19. }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement