AP_Math: remove method operator

remove the metho operator from the class.

This means this will no longer work:

Quaternion q{0,1,2,3};
q(5,6,7,8);

.... that used to set the quaternion componets, but is an odd / atypical syntax to use
This commit is contained in:
Peter Barker 2024-07-30 21:51:31 +10:00 committed by Peter Barker
parent cac2c63e72
commit d7caf1e6b5
1 changed files with 0 additions and 9 deletions

View File

@ -50,15 +50,6 @@ public:
{
}
// function call operator
void operator()(const T _q1, const T _q2, const T _q3, const T _q4)
{
q1 = _q1;
q2 = _q2;
q3 = _q3;
q4 = _q4;
}
// check if any elements are NAN
bool is_nan(void) const WARN_IF_UNUSED
{