16#ifndef QGSGLTF3DUTILS_H 
   17#define QGSGLTF3DUTILS_H 
   36#define TINYGLTF_NO_STB_IMAGE        
   37#define TINYGLTF_NO_STB_IMAGE_WRITE  
   54class _3D_EXPORT QgsGltf3DUtils
 
   58    struct EntityTransform
 
   70        double zValueScale = 1;
 
   71        double zValueOffset = 0;
 
   87    static Qt3DCore::QEntity *gltfToEntity( 
const QByteArray &data, 
const EntityTransform &transform, 
const QString &baseUri, QStringList *errors = 
nullptr );
 
   93    static Qt3DCore::QEntity *parsedGltfToEntity( tinygltf::Model &model, 
const QgsGltf3DUtils::EntityTransform &transform, QString baseUri, QStringList *errors );
 
A simple 4x4 matrix implementation useful for transformation in 3D space.
 
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...