| 982 | } |
| 983 | |
| 984 | void Model::GenerateBoxTestScene(ID3D11Device* device) |
| 985 | { |
| 986 | MeshMaterial material; |
| 987 | material.DiffuseMapName = L"White.png"; |
| 988 | material.NormalMapName = L"Hex.png"; |
| 989 | fileDirectory = L"..\\Content\\Textures\\"; |
| 990 | LoadMaterialResources(material, L"..\\Content\\Textures\\", device, false); |
| 991 | meshMaterials.push_back(material); |
| 992 | |
| 993 | meshes.resize(2); |
| 994 | meshes[0].InitBox(device, Float3(2.0f), Float3(0.0f, 1.5f, 0.0f), Quaternion(), 0); |
| 995 | meshes[1].InitBox(device, Float3(10.0f, 0.25f, 10.0f), Float3(0.0f), Quaternion(), 0); |
| 996 | } |
| 997 | |
| 998 | |
| 999 | void Model::GeneratePlaneScene(ID3D11Device* device, const Float2& dimensions, const Float3& position, |
nothing calls this directly
no test coverage detected