implemented glTF loading
This commit is contained in:
parent
7660bc09bc
commit
56559a9386
6 changed files with 186 additions and 35 deletions
|
|
@ -44,7 +44,7 @@ pub fn create(allocator: Allocator, w: window.Window) !Renderer {
|
|||
// renderer.render(some_other_thing);
|
||||
// ...
|
||||
// renderer.submit()
|
||||
const triangle = try mesh.Mesh.create(device);
|
||||
const triangle = try mesh.Mesh.create(allocator, device);
|
||||
|
||||
return Renderer{
|
||||
.instance = instance,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue