update
This commit is contained in:
Submodule src/Libraries/common_msgs updated: 32c034225f...fb03bdf2e8
Submodule src/Libraries/robot_cpp updated: ebb46a77d4...9b4252ea91
@@ -17,6 +17,9 @@ subject to the following restrictions:
|
||||
#ifndef GEN_MINMAX_H
|
||||
#define GEN_MINMAX_H
|
||||
|
||||
#include "Scalar.h"
|
||||
|
||||
|
||||
template <class T>
|
||||
TF3SIMD_FORCE_INLINE const T& tf3Min(const T& a, const T& b)
|
||||
{
|
||||
|
||||
@@ -159,20 +159,20 @@ protected:
|
||||
*/
|
||||
TF3SIMD_FORCE_INLINE void setMax(const QuadWord& other)
|
||||
{
|
||||
tf3SetMax(m_floats[0], other.m_floats[0]);
|
||||
tf3SetMax(m_floats[1], other.m_floats[1]);
|
||||
tf3SetMax(m_floats[2], other.m_floats[2]);
|
||||
tf3SetMax(m_floats[3], other.m_floats[3]);
|
||||
// tf3SetMax(m_floats[0], other.m_floats[0]);
|
||||
// tf3SetMax(m_floats[1], other.m_floats[1]);
|
||||
// tf3SetMax(m_floats[2], other.m_floats[2]);
|
||||
// tf3SetMax(m_floats[3], other.m_floats[3]);
|
||||
}
|
||||
/**@brief Set each element to the min of the current values and the values of another QuadWord
|
||||
* @param other The other QuadWord to compare with
|
||||
*/
|
||||
TF3SIMD_FORCE_INLINE void setMin(const QuadWord& other)
|
||||
{
|
||||
tf3SetMin(m_floats[0], other.m_floats[0]);
|
||||
tf3SetMin(m_floats[1], other.m_floats[1]);
|
||||
tf3SetMin(m_floats[2], other.m_floats[2]);
|
||||
tf3SetMin(m_floats[3], other.m_floats[3]);
|
||||
// tf3SetMin(m_floats[0], other.m_floats[0]);
|
||||
// tf3SetMin(m_floats[1], other.m_floats[1]);
|
||||
// tf3SetMin(m_floats[2], other.m_floats[2]);
|
||||
// tf3SetMin(m_floats[3], other.m_floats[3]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user