initializing a float variable
BlitzMax Forums/BlitzMax Beginners Area/initializing a float variable
| ||
how would i return a float from a statement?local Float(ships.xvel) local Float(ships.yvel) Function move(ships:ship) ships.xvel:+float(Cos(ships.ang * ships.vel)) ships.yvel:+float(Sin(ships.ang * ships.vel)) ships.x:+ships.xvel ships.y:+ships.yvel End Function |
| ||
nevermind that did it, thank you. |