Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Random cubes

Author
Message
haXor
21
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 17th May 2003 06:12
K so i have a matrix textured it, and can move stuff around it, I wanted to learn the loop thing, and I thought i had it, but when i ran the program, it didnt work. what nerve! lol jk. but I supplied the code. can anyone tell me whats wronge plz?
Sup Kids
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 17th May 2003 06:19 Edited at: 17th May 2003 06:22
First off, you are trying to create the same object 99,980,001 times.

Second, even if you fixed it, you would not see anything, because sync is in the wrong place.

Also, your for's are not nested properly.

So, here's the right code



I always indent inside for's and sometimes Loop's so I know if it's nested the right way.

I have not tested this, but it should work.

Food is güd!
"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!

Login to post a reply

Server time is: 2024-09-20 07:33:45
Your offset time is: 2024-09-20 07:33:45