summaryrefslogtreecommitdiff
path: root/assetFactory/use.cpp
blob: d191329555ceb51d4cc0e6fc9d26da3e67e67a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "use.h"

Shape::CreatedFaces
Use::createMesh(ModelFactoryMesh & mesh, const Mutation::Matrix & mutation) const
{
	auto faces = type->createMesh(mesh, mutation * getMatrix());
	for (const auto & [name, faceController] : faceControllers) {
		faceController.apply(mesh, name, faces);
	}
	return faces;
}