summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-07-18 03:48:13 -0700
committerIrene Knapp <ireneista@irenes.space>2026-07-18 03:48:13 -0700
commit0371c8f086008d604dddfe92d021f8ecfe398436 (patch)
tree74c21e5fea53a71937b26b8bbfac7ee784355f6c /src/main.rs
parent40bd889e67d6f9fb4ce837fcda4ddf5a34c54b47 (diff)
pull the shader data stuff into its own file
separate from the linear algebra stuff

Force-Push: yes
Change-Id: I26fc7ac596f304fa35ca7a4d0e1349d4fa0685ee
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index e80e2be..2433a40 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,7 +6,8 @@ use crate::graphics_permanent::{
 use crate::graphics_window_dressing::{
   WindowDressing, N_SIMULTANEOUS_FRAMES
 };
-use crate::linear_algebra::{ Vec3, Vec4, Mat4, Transformation, UniformBlock };
+use crate::linear_algebra::{ Vec3, Vec4, Mat4, Transformation };
+use crate::shader_data::UniformBlock;
 
 use std::cell::RefCell;
 use std::f32::consts::{ FRAC_PI_2, FRAC_PI_4, TAU };
@@ -24,6 +25,7 @@ mod error;
 mod graphics_permanent;
 mod graphics_window_dressing;
 mod linear_algebra;
+mod shader_data;
 
 
 struct Surreality {