|
Saga
Saga Game Engine
|
Functions | |
| std::optional< float > | solvePositiveQuadratic (float a, float b, float c) |
| Solve for the minimum t such that quadratic equation at^2 + bt + c = 0 is satisfied. | |
| std::vector< float > | solveQuadraticReals (float a, float b, float c) |
| std::optional< float > Saga::Math::solvePositiveQuadratic | ( | float | a, |
| float | b, | ||
| float | c | ||
| ) |
Solve for the minimum t such that quadratic equation at^2 + bt + c = 0 is satisfied.
| a | |
| b | |
| c |

| std::vector< float > Saga::Math::solveQuadraticReals | ( | float | a, |
| float | b, | ||
| float | c | ||
| ) |
Solve the quadratic formula for real solutions for the equation at^2 + bt + c = 0.
| a | |
| b | |
| c |