summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/utils/meshloader_p.h
blob: cbd4036b7eb484c39aa1e6a1e15591991038a57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

//
//  W A R N I N G
//  -------------
//
// This file is not part of the QtDataVisualization API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.

#ifndef MESHLOADER_P_H
#define MESHLOADER_P_H

#include "datavisualizationglobal_p.h"
#include <QtGui/QVector2D>

QT_BEGIN_NAMESPACE

class MeshLoader
{
    public:
        static bool loadOBJ(const QString &path, QList<QVector3D> &out_vertices,
                            QList<QVector2D> &out_uvs, QList<QVector3D> &out_normals);
};

QT_END_NAMESPACE

#endif