summaryrefslogtreecommitdiff
path: root/Userland/Applications/3DFileViewer/MeshLoader.h
blob: 9676bf26043e50ceea28e0e96bc3d4dc2d66b05a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/String.h>
#include <LibCore/File.h>

#include "Common.h"
#include "Mesh.h"

class MeshLoader {
public:
    MeshLoader() { }
    virtual ~MeshLoader() { }

    virtual RefPtr<Mesh> load(Core::File& file) = 0;
};