1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-20 01:11:46 +02:00
openrw/rwengine/include/loaders/LoaderCOL.hpp
2014-01-26 03:45:55 +00:00

26 lines
491 B
C++

#ifndef _LOADERCOL_H_
#define _LOADERCOL_H_
#include <string>
#include <vector>
#include <memory>
#include <glm/glm.hpp>
#include <data/CollisionModel.hpp>
/**
* @class LoaderCOL
* Loads collision data from COL files
*/
class LoaderCOL
{
public:
/// Load the COL data into memory
bool load(const std::string& file);
/// Load the COL data from a file already in memory
bool load(char* data, const size_t size);
std::vector<std::unique_ptr<CollisionModel>> instances;
};
#endif