Parameter ordering for model class (put in line with texture class)

This commit is contained in:
saschawillems 2017-02-04 14:59:31 +01:00
parent ff643e5e48
commit 5a50dfdc1c
2 changed files with 5 additions and 5 deletions

View file

@ -600,11 +600,11 @@ public:
void loadAssets()
{
// Models
models.skybox.loadFromFile(vulkanDevice, getAssetPath() + "models/cube.obj", vertexLayout, 0.05f, queue);
models.skybox.loadFromFile(getAssetPath() + "models/cube.obj", vertexLayout, 0.05f, vulkanDevice, queue);
std::vector<std::string> filenames = {"sphere.obj", "teapot.dae", "torusknot.obj"};
for (auto file : filenames) {
vks::Model model;
model.loadFromFile(vulkanDevice, getAssetPath() + "models/" + file, vertexLayout, 0.05f, queue);
model.loadFromFile(getAssetPath() + "models/" + file, vertexLayout, 0.05f, vulkanDevice, queue);
models.objects.push_back(model);
}