1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#![deny(warnings)]
#![allow(incomplete_features)]
#![feature(
    array_map,
    const_generics,
    vec_spare_capacity,
    maybe_uninit_uninit_array,
    maybe_uninit_array_assume_init
)]

pub mod attribute;
pub mod binder;
pub mod context;
pub mod math;
pub mod obj;
pub mod object;
pub mod program;
pub mod uniform;
pub mod using;
pub mod derive {
    pub use rust_gl_proc::*;
}

pub type GL = web_sys::WebGl2RenderingContext;

use derive_more::*;
#[derive(Debug, Display, Error)]
pub struct NoneError();