| 1012 | } |
| 1013 | |
| 1014 | void Model::GenerateCorneaScene(ID3D11Device* device) |
| 1015 | { |
| 1016 | MeshMaterial material; |
| 1017 | material.DiffuseMapName = L"Eyeball.png"; |
| 1018 | material.NormalMapName = L""; |
| 1019 | fileDirectory = L"..\\Content\\Textures\\"; |
| 1020 | LoadMaterialResources(material, L"..\\Content\\Textures\\", device, false); |
| 1021 | meshMaterials.push_back(material); |
| 1022 | |
| 1023 | meshes.resize(1); |
| 1024 | meshes[0].InitCornea(device, 0); |
| 1025 | } |
| 1026 | |
| 1027 | void Model::LoadMaterialResources(MeshMaterial& material, const wstring& directory, ID3D11Device* device, bool forceSRGB) |
| 1028 | { |
nothing calls this directly
no test coverage detected