2023-06-29 21:24:56 +00:00
|
|
|
use crate::point::Color;
|
2023-06-29 20:36:00 +00:00
|
|
|
|
2023-06-29 21:24:56 +00:00
|
|
|
#[derive(Debug, Default)]
|
2023-06-29 20:36:00 +00:00
|
|
|
pub struct EDH {
|
2023-06-29 21:24:56 +00:00
|
|
|
pub matrix: Vec<Vec<f32>> //Matrix3
|
2023-06-29 20:36:00 +00:00
|
|
|
}
|
|
|
|
|
2023-06-29 21:24:56 +00:00
|
|
|
|
2023-06-29 20:36:00 +00:00
|
|
|
impl EDH {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-06-29 21:24:56 +00:00
|
|
|
#[derive(Debug, Default)]
|
2023-06-29 20:36:00 +00:00
|
|
|
pub struct WorldState {
|
|
|
|
pub edh: EDH,
|
|
|
|
pub resampler: Vec<f32>,
|
|
|
|
pub client_key: u8,
|
|
|
|
pub intensity: u8,
|
|
|
|
pub kpps: u32,
|
|
|
|
pub color: Color
|
|
|
|
}
|
|
|
|
|
|
|
|
impl WorldState{
|
|
|
|
|
|
|
|
}
|