From c613e5eb1a1e9f3a1cdf0e3105339b372e40f113 Mon Sep 17 00:00:00 2001 From: Erin Date: Tue, 12 Apr 2022 00:27:34 +0200 Subject: [PATCH] oh, i missed a bit! --- shadeable/src/lib.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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> {