swap model
This commit is contained in:
parent
c1d59c12f4
commit
94be0032cb
3 changed files with 14690 additions and 190891 deletions
14689
assets/cat_mask_cyberpunk.obj
Normal file
14689
assets/cat_mask_cyberpunk.obj
Normal file
File diff suppressed because it is too large
Load diff
190890
assets/cat_mask_scaled.obj
190890
assets/cat_mask_scaled.obj
File diff suppressed because it is too large
Load diff
|
@ -80,7 +80,7 @@ initVulkan window = do
|
||||||
allocator <- initAllocator vulkanPhysicalDevice vulkanLogicalDevice vulkanInstance
|
allocator <- initAllocator vulkanPhysicalDevice vulkanLogicalDevice vulkanInstance
|
||||||
mesh <- uploadMesh loadMeshes allocator
|
mesh <- uploadMesh loadMeshes allocator
|
||||||
|
|
||||||
maskMesh <- loadFromObj "./assets/cat_mask_scaled.obj" allocator
|
maskMesh <- loadFromObj "./assets/cat_mask_cyberpunk.obj" allocator
|
||||||
|
|
||||||
dimensions <- liftIO $ SDL.windowInitialSize <$> SDL.getWindowConfig window
|
dimensions <- liftIO $ SDL.windowInitialSize <$> SDL.getWindowConfig window
|
||||||
(swapchain, surfaceFormat) <-
|
(swapchain, surfaceFormat) <-
|
||||||
|
|
Loading…
Reference in a new issue