comparison examples/anmrenderer.rs @ 707:987409d48991

Switch to versioned luminance now that it got released, not hardcoded paths.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 24 Aug 2019 19:30:59 +0200
parents bca515da9047
children 3954801b6299
comparison
equal deleted inserted replaced
706:bca515da9047 707:987409d48991
6 use luminance::render_state::RenderState; 6 use luminance::render_state::RenderState;
7 use luminance::shader::program::{Program, Uniform}; 7 use luminance::shader::program::{Program, Uniform};
8 use luminance::tess::{Mode, TessBuilder}; 8 use luminance::tess::{Mode, TessBuilder};
9 use luminance::texture::{Dim2, Flat}; 9 use luminance::texture::{Dim2, Flat};
10 use luminance_derive::{Semantics, Vertex, UniformInterface}; 10 use luminance_derive::{Semantics, Vertex, UniformInterface};
11 use luminance_glfw::event::{Action, Key, WindowEvent}; 11 use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt};
12 use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt};
13 use touhou::th06::anm0::Anm0; 12 use touhou::th06::anm0::Anm0;
14 use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex}; 13 use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex};
15 use touhou::util::math::{perspective, setup_camera}; 14 use touhou::util::math::{perspective, setup_camera};
16 use touhou::util::prng::Prng; 15 use touhou::util::prng::Prng;
17 use std::cell::RefCell; 16 use std::cell::RefCell;