Difference between revisions of "ScriptEvent:solveRoots"
From Mod Wiki
(No difference)
|
Latest revision as of 18:14, 5 November 2007
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.