Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3dutils_p.h File Reference

(ed39d7a18a4ddfc0cc9197b3b0863c1443fe3b8a)

#include <type_traits>
#include <QtCore/QtGlobal>
#include <private/qglobal_p.h>
+ Include dependency graph for qquick3dutils_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T , typename std::enable_if<!std::is_floating_point< T >::value, int >::type = 0>
QT_BEGIN_NAMESPACE bool qUpdateIfNeeded (T &orig, T updated)
 
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, int >::type = 0>
bool qUpdateIfNeeded (T &orig, T updated)
 

Function Documentation

◆ qUpdateIfNeeded() [1/2]

template<typename T , typename std::enable_if<!std::is_floating_point< T >::value, int >::type = 0>
QT_BEGIN_NAMESPACE bool qUpdateIfNeeded ( T & orig,
T updated )

Definition at line 27 of file qquick3dutils_p.h.

Referenced by QQuick3DCamera::updateSpatialNode(), QQuick3DCustomCamera::updateSpatialNode(), QQuick3DFrustumCamera::updateSpatialNode(), QQuick3DOrthographicCamera::updateSpatialNode(), QQuick3DPerspectiveCamera::updateSpatialNode(), QQuick3DTexture::updateSpatialNode(), and QOpenXREyeCamera::updateSpatialNode().

+ Here is the caller graph for this function:

◆ qUpdateIfNeeded() [2/2]

template<typename T , typename std::enable_if< std::is_floating_point< T >::value, int >::type = 0>
bool qUpdateIfNeeded ( T & orig,
T updated )

Definition at line 37 of file qquick3dutils_p.h.

References qFuzzyCompare().

+ Here is the call graph for this function: