Content


NTL
Core
CFunctionRndRange

CFunctionRndRange


Class provides implementation of the rnd(min, max) function which return random floating point value in min..max range. It is being used by expression runners.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CFunctionRndRange :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionRndRange(IErrorListener *error_listener, IFunction *operand1, IFunction *operand2);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/General/FunctionRndRange.h