mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/trigonometry_cheat_table] Reorder parameter names correctly
This commit is contained in:
committed by
Émilie Feral
parent
b8993eafa9
commit
e018c9ddc8
@@ -51,8 +51,8 @@ private:
|
||||
};
|
||||
// END OF PAIR CLASS
|
||||
|
||||
constexpr Row(Pair angleInRadians, Pair angleInGradians, Pair angleInDegrees, Pair sine, Pair cosine, Pair tangent) :
|
||||
m_pairs{angleInRadians, angleInGradians, angleInDegrees, sine, cosine, tangent} {}
|
||||
constexpr Row(Pair angleInDegrees, Pair angleInRadians, Pair angleInGradians, Pair sine, Pair cosine, Pair tangent) :
|
||||
m_pairs{angleInDegrees, angleInRadians, angleInGradians, sine, cosine, tangent} {}
|
||||
float floatForType(Type t) const {
|
||||
assert(((int) t) >= 0 && ((int) t) < k_numberOfPairs);
|
||||
return m_pairs[(int)t].value();
|
||||
|
||||
Reference in New Issue
Block a user