public async Task createAsync(IRenderDevice device) { iStorageFolder resources = StorageFolder.embeddedResources(Assembly.GetExecutingAssembly(), resourcesFolder); resources.openRead("UtahTeapot.stl.gz", out Stream stream); float minCos = MathF.Cos(Angle.degrees(10)); // float minCos = 1.1f; using (stream) mesh = await device.loadStlAsync(stream, minCos, "Teapot"); }