Mercurial > touhou
changeset 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 |
files | Cargo.toml examples/anmrenderer.rs examples/common.rs examples/eclrenderer.rs examples/stdrenderer.rs |
diffstat | 5 files changed, 7 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/Cargo.toml +++ b/Cargo.toml @@ -14,9 +14,9 @@ nom = "5" encoding_rs = "0.8" image = { version = "0.22", default-features = false, features = ["png_codec"] } bitflags = "1" -luminance = { version = "*", path = "../luminance/luminance" } -luminance-glfw = { version = "*", path = "../luminance/luminance-glfw", default-features = false } -luminance-derive = { version = "*", path = "../luminance/luminance-derive" } +luminance = "0.31" +luminance-glfw = { version = "0.6", default-features = false } +luminance-derive = "0.1" [profile.dev] panic = "abort"
--- a/examples/anmrenderer.rs +++ b/examples/anmrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex}; use touhou::util::math::{perspective, setup_camera};
--- a/examples/common.rs +++ b/examples/common.rs @@ -1,7 +1,7 @@ use image::{GenericImageView, DynamicImage}; use luminance::pixel::{NormRGB8UI, NormRGBA8UI}; use luminance::texture::{Dim2, Flat, Sampler, Texture, GenMipmaps}; -use luminance_glfw::surface::GlfwSurface; +use luminance_glfw::GlfwSurface; use touhou::th06::anm0::Anm0; use std::fs::File; use std::io::{BufReader, Read};
--- a/examples/eclrenderer.rs +++ b/examples/eclrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{Sprite, Vertex as FakeVertex}; use touhou::th06::ecl::{Ecl, Rank};
--- a/examples/stdrenderer.rs +++ b/examples/stdrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder, TessSliceIndex}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex}; use touhou::th06::std::{Stage, Position, Box2D};