Saga
Saga Game Engine
Loading...
Searching...
No Matches
math.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <optional>
4
#include <vector>
5
6
namespace
Saga::Math
{
16
std::optional<float>
solvePositiveQuadratic
(
float
a,
float
b,
float
c);
17
26
std::vector<float>
solveQuadraticReals
(
float
a,
float
b,
float
c);
27
}
Saga::Math
Definition:
math.cpp:6
Saga::Math::solveQuadraticReals
std::vector< float > solveQuadraticReals(float a, float b, float c)
Definition:
math.cpp:19
Saga::Math::solvePositiveQuadratic
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.
Definition:
math.cpp:7
Utils
math.h
Generated by
1.9.6