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
QSSGClippingFrustum Struct Reference

#include <qssgrenderclippingfrustum_p.h>

+ Collaboration diagram for QSSGClippingFrustum:

Public Member Functions

 QSSGClippingFrustum ()=default
 
 QSSGClippingFrustum (const QMatrix4x4 &modelviewprojection, const QSSGClipPlane &nearPlane)
 
bool intersectsWith (const QSSGBounds3 &bounds) const
 
bool intersectsWith (const QVector3D &point, float radius=0.0f) const
 

Public Attributes

QSSGClipPlane mPlanes [6]
 

Detailed Description

Definition at line 120 of file qssgrenderclippingfrustum_p.h.

Constructor & Destructor Documentation

◆ QSSGClippingFrustum() [1/2]

QSSGClippingFrustum::QSSGClippingFrustum ( )
default

◆ QSSGClippingFrustum() [2/2]

QT_BEGIN_NAMESPACE QSSGClippingFrustum::QSSGClippingFrustum ( const QMatrix4x4 & modelviewprojection,
const QSSGClipPlane & nearPlane )

Definition at line 11 of file qssgrenderclippingfrustum.cpp.

References QSSGClipPlane::d, M, mPlanes, QSSGClipPlane::normal, and QSSGUtils::vec3::normalize().

+ Here is the call graph for this function:

Member Function Documentation

◆ intersectsWith() [1/2]

bool QSSGClippingFrustum::intersectsWith ( const QSSGBounds3 & bounds) const
inline

Definition at line 128 of file qssgrenderclippingfrustum_p.h.

References ret.

◆ intersectsWith() [2/2]

bool QSSGClippingFrustum::intersectsWith ( const QVector3D & point,
float radius = 0.0f ) const
inline

Definition at line 137 of file qssgrenderclippingfrustum_p.h.

References ret.

Member Data Documentation

◆ mPlanes

QSSGClipPlane QSSGClippingFrustum::mPlanes[6]

Definition at line 122 of file qssgrenderclippingfrustum_p.h.

Referenced by QSSGClippingFrustum().


The documentation for this struct was generated from the following files: