ScriptEvent:solveRoots
From Mod Wiki
Parameters
float a -- The value of a. float b -- The value of b. float c -- The value of c.
Result
Supported By
sdSysCallThread
Functionality
Calculates the roots of the quadratic aX^2 + bX + c, and returns the number of roots found. The values of these roots can then be looked up using getRoot.