Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquick3dutils_p.h File Reference
#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,
updated 
)

Definition at line 27 of file qquick3dutils_p.h.

Referenced by QQuick3DCamera::updateSpatialNode(), QQuick3DCustomCamera::updateSpatialNode(), QQuick3DFrustumCamera::updateSpatialNode(), QQuick3DOrthographicCamera::updateSpatialNode(), QQuick3DPerspectiveCamera::updateSpatialNode(), and QQuick3DTexture::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,
updated 
)

Definition at line 37 of file qquick3dutils_p.h.

References qFuzzyCompare().

+ Here is the call graph for this function: