- 1
- 2
- 3
- 4
- 5
- 6
- 7
auto mesh=mesh_loader.load("wall.x").
map([](auto m){
return m.SetPosition(0.f, 0.f, 0.f);
}).map([=](auto m){
return m.SetRotation(xr,yr,zr);
}).map(::std::bind(&Mesh::SetSize, _1, 90, 60, 90)).
map(&Mesh::RecalculateNormals);
Follow us!