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
QSSGUtils::vec3 Namespace Reference

Functions

QVector3D minimum (const QVector3D &v1, const QVector3D &v2) Q_DECL_NOTHROW
 
QVector3D maximum (const QVector3D &v1, const QVector3D &v2) Q_DECL_NOTHROW
 
bool Q_QUICK3DUTILS_EXPORT isFinite (const QVector3D &v)
 
float Q_QUICK3DUTILS_EXPORT magnitude (const QVector3D &v)
 
float Q_QUICK3DUTILS_EXPORT magnitudeSquared (const QVector3D &v)
 
float Q_QUICK3DUTILS_EXPORT normalize (QVector3D &v)
 

Function Documentation

◆ isFinite()

bool QSSGUtils::vec3::isFinite ( const QVector3D & v)

Definition at line 18 of file qssgutils.cpp.

References qIsFinite().

Referenced by QSSGBounds3::isFinite().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ magnitude()

float QSSGUtils::vec3::magnitude ( const QVector3D & v)

Definition at line 23 of file qssgutils.cpp.

Referenced by normalize().

+ Here is the caller graph for this function:

◆ magnitudeSquared()

float QSSGUtils::vec3::magnitudeSquared ( const QVector3D & v)

Definition at line 28 of file qssgutils.cpp.

Referenced by QSSGRenderRay::createIntersectionResult(), and QSSGRenderRay::intersectWithBVHTriangles().

+ Here is the caller graph for this function:

◆ maximum()

QVector3D QSSGUtils::vec3::maximum ( const QVector3D & v1,
const QVector3D & v2 )
inline

Definition at line 55 of file qssgutils_p.h.

References qMax().

Referenced by QSSGBounds3::boundsOfPoints(), QSSGBounds3::include(), and QSSGBounds3::include().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ minimum()

QVector3D QSSGUtils::vec3::minimum ( const QVector3D & v1,
const QVector3D & v2 )
inline

Definition at line 54 of file qssgutils_p.h.

References qMin().

Referenced by QSSGBounds3::boundsOfPoints(), QSSGBounds3::include(), and QSSGBounds3::include().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ normalize()

float QSSGUtils::vec3::normalize ( QVector3D & v)

Definition at line 35 of file qssgutils.cpp.

References magnitude().

Referenced by QSSGClippingFrustum::QSSGClippingFrustum(), and QT_BEGIN_NAMESPACE::generateMeshLevelsOfDetail().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: