2024-12-28 18:36:05 -05:00
|
|
|
#![cfg_attr(target_arch = "spirv", no_std)]
|
|
|
|
|
|
2024-12-29 12:00:32 -05:00
|
|
|
use glam::{Mat4, Vec3};
|
2024-12-28 18:36:05 -05:00
|
|
|
|
|
|
|
|
#[repr(C)]
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
|
pub struct UniformBufferObject {
|
|
|
|
|
pub model: Mat4,
|
|
|
|
|
pub view: Mat4,
|
|
|
|
|
pub proj: Mat4,
|
2024-12-29 12:00:32 -05:00
|
|
|
pub model_color: Vec3,
|
2024-12-28 18:36:05 -05:00
|
|
|
}
|