mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 22:06:45 +02:00
26 lines
677 B
C++
26 lines
677 B
C++
//
|
|
// OBJWriter.h
|
|
// libraries/model-serializers/src
|
|
//
|
|
// Created by Seth Alves on 2017-1-27.
|
|
// Copyright 2017 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_objwriter_h
|
|
#define hifi_objwriter_h
|
|
|
|
|
|
#include <QString>
|
|
#include <QList>
|
|
#include <graphics/Geometry.h>
|
|
|
|
using MeshPointer = std::shared_ptr<graphics::Mesh>;
|
|
|
|
bool writeOBJToTextStream(QTextStream& out, QList<MeshPointer> meshes);
|
|
bool writeOBJToFile(QString path, QList<MeshPointer> meshes);
|
|
QString writeOBJToString(QList<MeshPointer> meshes);
|
|
|
|
#endif // hifi_objwriter_h
|