diff options
Diffstat (limited to 'Userland/Applications/3DFileViewer/WavefrontOBJLoader.h')
-rw-r--r-- | Userland/Applications/3DFileViewer/WavefrontOBJLoader.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Userland/Applications/3DFileViewer/WavefrontOBJLoader.h b/Userland/Applications/3DFileViewer/WavefrontOBJLoader.h new file mode 100644 index 0000000000..92ef601577 --- /dev/null +++ b/Userland/Applications/3DFileViewer/WavefrontOBJLoader.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include <AK/RefCounted.h> +#include <AK/RefPtr.h> + +#include "Mesh.h" +#include "MeshLoader.h" + +class WavefrontOBJLoader : public MeshLoader { +public: + WavefrontOBJLoader() { } + ~WavefrontOBJLoader() override { } + + RefPtr<Mesh> load(const String& fname) override; +}; |