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

#include "modelFactoryMesh_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;
};