2021-32-bit-holiday-jam/src/prelude.rs

39 lines
517 B
Rust

pub use std::{
convert::TryInto,
ffi::{
CString,
c_void,
},
io::Write,
time::Duration,
};
pub use anyhow::{
anyhow,
bail,
Context,
};
pub use glam::{
Mat4,
Vec3,
};
pub use sdl2::{
event::Event,
keyboard::{Keycode, Scancode},
};
pub use tracing::{
debug,
instrument,
};
pub use crate::{
glezz,
gpu_buffers,
network_protocol::*,
quinn_common::make_client_endpoint,
renderable_model::renderable_from_iqm_file,
shader::shader_from_files,
shader_closure::ShaderClosure,
timestep::TimeStep,
};