oh, i missed a bit!

This commit is contained in:
Erin 2022-04-12 00:27:34 +02:00 committed by ondra05
parent 1dca7c4705
commit c613e5eb1a

View file

@ -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<Rgba64, Box<EvalAltResult>> {