Model files are zip archives with a "model.toml" file at the root describing the model and all its textures.
22 lines
258 B
C++
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
|