facecam2d/src/cv.hpp
Epicalert 4770c96d92
Add support for model files
Model files are zip archives with a "model.toml" file at the root describing
the model and all its textures.
2021-02-04 22:58:03 +08:00

22 lines
258 B
C++

#ifndef CV_HPP
#define CV_HPP
#include <map>
#include <glm/vec2.hpp>
struct FaceData {
std::map<int, glm::vec2> positions;
std::map<int, bool> triggers;
float headRotation;
float scale;
};
void initCV();
void cvFrame();
void cvShowFrame();
#endif