summaryrefslogtreecommitdiff
path: root/assetFactory/faceController.h
blob: 64c33f3b336a15e3e296ef4dee9e7c8be75de8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "assetFactoryConfig_fwd.h"
#include "mutation.h"
#include "shape.h"
#include <map>
#include <string>

class FaceController : public Mutation {
public:
	using FaceControllers = std::map<std::string, FaceController>;

	void apply(ModelFactoryMesh & mesh, const std::string & name, Shape::CreatedFaces & faces) const;

	std::string id;
	std::string colour;
	std::string type;
	bool smooth {false};
	FaceControllers faceControllers;
};