init commit
This commit is contained in:
commit
15a4041785
20 changed files with 37592 additions and 0 deletions
11
crates/shaders-shared/src/lib.rs
Normal file
11
crates/shaders-shared/src/lib.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#![cfg_attr(target_arch = "spirv", no_std)]
|
||||
|
||||
use glam::Mat4;
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone)]
|
||||
pub struct UniformBufferObject {
|
||||
pub model: Mat4,
|
||||
pub view: Mat4,
|
||||
pub proj: Mat4,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue