diff --git a/shadeable/src/lib.rs b/shadeable/src/lib.rs index 12a4dd0b..68baa3dc 100644 --- a/shadeable/src/lib.rs +++ b/shadeable/src/lib.rs @@ -1,15 +1,16 @@ #![no_std] extern crate alloc; + +pub mod pixel_format; + +mod engine_internals; + use alloc::boxed::Box; use engine_internals::engine_startup; use pixel_format::Rgba64; -// use core::fmt::Result; use core::result::Result; use rhai::{EvalAltResult, Scope}; -mod engine_internals; -pub mod pixel_format; - pub const SHADER: &str = include_str!("../shaders/simple.shade"); pub fn evaluate_shader(x: usize, y: usize, pixel: Rgba64) -> Result> {