Function qt_gui::q_fuzzy_compare_2_q_vector_4d
source · pub unsafe fn q_fuzzy_compare_2_q_vector_4d(
v1: impl CastInto<Ref<QVector4D>>,
v2: impl CastInto<Ref<QVector4D>>
) -> bool
Expand description
The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.
Calls C++ function: bool qFuzzyCompare(const QVector4D& v1, const QVector4D& v2)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
:
The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.
Returns true
if m1 and m2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.
This function was introduced in Qt 4.6.