Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
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 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 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 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 vec3::maximum ( const QVector3D v1,
const QVector3D v2 
)
inline

Definition at line 53 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 vec3::minimum ( const QVector3D v1,
const QVector3D v2 
)
inline

Definition at line 52 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 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: