Renamed spectral upsampling sub-crate.

This commit is contained in:
Nathan Vegdahl 2019-06-02 07:28:43 +09:00
parent 0fc8c32566
commit fdad8f71bb
9 changed files with 8 additions and 8 deletions

4
Cargo.lock generated
View File

@ -254,7 +254,7 @@ dependencies = [
"rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)",
"scoped_threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
"sobol 0.1.0",
"spectra_xyz 0.1.0",
"spectral_upsampling 0.1.0",
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
"trifloat 0.1.0",
]
@ -440,7 +440,7 @@ name = "sobol"
version = "0.1.0"
[[package]]
name = "spectra_xyz"
name = "spectral_upsampling"
version = "0.1.0"
dependencies = [
"float4 0.1.0",

View File

@ -8,7 +8,7 @@ members = [
"sub_crates/mem_arena",
"sub_crates/oct32norm",
"sub_crates/sobol",
"sub_crates/spectra_xyz",
"sub_crates/spectral_upsampling",
"sub_crates/trifloat"
]
@ -61,8 +61,8 @@ path = "sub_crates/oct32norm"
[dependencies.sobol]
path = "sub_crates/sobol"
[dependencies.spectra_xyz]
path = "sub_crates/spectra_xyz"
[dependencies.spectral_upsampling]
path = "sub_crates/spectral_upsampling"
[dependencies.trifloat]
path = "sub_crates/trifloat"

View File

@ -2,7 +2,7 @@ use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign};
pub use color::{rec709_e_to_xyz, rec709_to_xyz, xyz_to_rec709, xyz_to_rec709_e};
use float4::Float4;
use spectra_xyz::{spectrum_xyz_to_p_4, EQUAL_ENERGY_REFLECTANCE};
use spectral_upsampling::{spectrum_xyz_to_p_4, EQUAL_ENERGY_REFLECTANCE};
use crate::{lerp::Lerp, math::fast_exp};

View File

@ -1,12 +1,12 @@
[package]
name = "spectra_xyz"
name = "spectral_upsampling"
version = "0.1.0"
authors = ["Nathan Vegdahl <cessen@cessen.com>"]
edition = "2018"
license = "MIT"
[lib]
name = "spectra_xyz"
name = "spectral_upsampling"
path = "src/lib.rs"
# Local crate dependencies