summaryrefslogtreecommitdiffhomepage
path: root/MagicEx/include/ModelFileOBJ.h
blob: 3d9089c7ea50ba714a101f32b9183c130a26f2fe (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
/*  Starshatter: The Open Source Project
    Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors
    Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
    Copyright (c) 1997-2006, Destroyer Studios LLC.

    AUTHOR:       John DiCamillo


    OVERVIEW
    ========
    File loader for Wavefront/OBJ format models
*/

#pragma once

#include <Solid.h>


class ModelFileOBJ : public ModelFile
{
public:
   ModelFileOBJ(const char* fname);
   virtual ~ModelFileOBJ();

   virtual bool   Load(Model* m, double scale=1.0);
   virtual bool   Save(Model* m);
};