You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
409 B
34 lines
409 B
#ifndef __LOAD3DS_H
|
|
#define __LOAD3DS_H
|
|
|
|
#include <iostream>
|
|
#include <fstream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class Chunk {
|
|
private:
|
|
short ident;
|
|
char m;
|
|
char n;
|
|
|
|
public:
|
|
Chunk() { };
|
|
void parse();
|
|
};
|
|
|
|
class Load3ds {
|
|
private:
|
|
std::string filename;
|
|
|
|
bool parsed;
|
|
bool error;
|
|
public:
|
|
Load3ds(std::string _fname, bool parse=true);
|
|
|
|
bool parse();
|
|
void unload();
|
|
};
|
|
|
|
#endif
|