forked from koniifer/ableos
oh, i missed a bit!
This commit is contained in:
parent
1dca7c4705
commit
c613e5eb1a
|
@ -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>> {
|
||||
|
|
Loading…
Reference in a new issue