I personally prefer using sin and cosin:
dirx# = cos(angle)
diry# = sin(angle)
speed# = 2.0
while angle not changed
.
.
x# = x#+dirx#*speed#
y# = y#+diry#*speed#
plot x#,y#
.
.
wend
and sence most predefined BM commands are in floats then
I don't have to worry about casting problems.
I hope is of use to somebody. no harm intended.
dirx# = cos(angle)
diry# = sin(angle)
speed# = 2.0
while angle not changed
.
.
x# = x#+dirx#*speed#
y# = y#+diry#*speed#
plot x#,y#
.
.
wend
and sence most predefined BM commands are in floats then
I don't have to worry about casting problems.
I hope is of use to somebody. no harm intended.