11 lines
186 B
Rust
11 lines
186 B
Rust
#![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,
|
|
}
|