Saga
Saga Game Engine
Loading...
Searching...
No Matches
math.h File Reference
#include <optional>
#include <vector>
Include dependency graph for math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Saga
 
namespace  Saga::Math
 

Functions

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.
 
std::vector< float > Saga::Math::solveQuadraticReals (float a, float b, float c)