ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:randsign

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
functions:randsign [2017/07/09 17:43] korshunfunctions:randsign [2017/07/09 17:43] (current) korshun
Line 9: Line 9:
 <code> <code>
 int speed = randsign() * 10.0; int speed = randsign() * 10.0;
 +// speed is now either 10.0 or -10.0.
 </code> </code>
functions/randsign.1499611380.txt.gz · Last modified: 2017/07/09 17:43 by korshun