summaryrefslogtreecommitdiffhomepage
path: root/Magic2/ModelFileOBJ.h
blob: 1fe123b1305eea8a1ae26bc1ac18b3848a676dd5 (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
28
29
30
31
32
33
34
35
36
37
/*  Project Magic 2.0
    Destroyer Studios LLC
    Copyright © 1997-2004. All Rights Reserved.

    SUBSYSTEM:    Magic.exe
    FILE:         ModelFileOBJ.h
    AUTHOR:       John DiCamillo


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

#ifndef ModelFileOBJ_h
#define ModelFileOBJ_h

#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);

protected:
};

// +--------------------------------------------------------------------+

#endif ModelFileOBJ_h