diff options
Diffstat (limited to 'Userland/Demos/GLTeapot/WavefrontOBJLoader.h')
-rw-r--r-- | Userland/Demos/GLTeapot/WavefrontOBJLoader.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Userland/Demos/GLTeapot/WavefrontOBJLoader.h b/Userland/Demos/GLTeapot/WavefrontOBJLoader.h new file mode 100644 index 0000000000..92ef601577 --- /dev/null +++ b/Userland/Demos/GLTeapot/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; +}; |