add color changing

This commit is contained in:
zack 2024-12-29 12:00:32 -05:00
parent 94432b0c0d
commit 210d5078c6
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
7 changed files with 129 additions and 54 deletions

View file

@ -1,6 +1,6 @@
#![cfg_attr(target_arch = "spirv", no_std)]
use glam::Mat4;
use glam::{Mat4, Vec3};
#[repr(C)]
#[derive(Clone)]
@ -8,4 +8,5 @@ pub struct UniformBufferObject {
pub model: Mat4,
pub view: Mat4,
pub proj: Mat4,
pub model_color: Vec3,
}