Re: A86: trig in ASM (vectors and raycasting)


[Prev][Next][Index][Thread]

Re: A86: trig in ASM (vectors and raycasting)




I don't know how to switch modes in ASM, and
:For(A,1,360,5)
~~code~~
:End
executes ~~code~~ until the variable 'A' is greater than or equal to 360.
When it hit's ":End" it adds 5 to the current value of A and jumps back up to
the beginning of ~~code~~.   ~~code~~ can change the value of 'A' as well, so
this is a dynamic loop.