initial commit

This commit is contained in:
iris committed 2025-08-08 18:22:52 -04:00
1 parent eba8481bde
commit 56beeb80f3
31 files changed
+1223 -1197

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
use crate::primitive::{Color, PrimitiveData};
#[repr(C)]
#[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
pub struct RoundedRectData {
pub color: Color<u8>,
pub radius: f32,
pub thickness: f32,
pub inner_radius: f32,
}
impl PrimitiveData for RoundedRectData {
const DISCRIM: u32 = 0;
}