![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#33 |
GLOBAL MODDING TERRORIST
|
![]()
We only need one looping function to do everything.
I have 3 ints assigned in my loop right now. 2 only control the number of loops I do. The other is for kicking out the faces information. I take advantage of the Printf function to do the math. ![]() Here's an example.............. f=(f+1); Printf("f %u", f); Printf( "/%u ", f=(f+100) ); Those lines print out 1/101 That's the first part of a face. Each line of Printf needs to be coded or numbers go real FUBAR! What I mean by that is that using f on a single line in Printf can corrupt the data. By using different lines? It preserves the true value of f for further math. BUT! We can loop the code to print out all 10000 lines easily. Last edited by Jeff-Groves; 02-01-19 at 02:47 PM. |
![]() |
![]() |
|
|