Renamed spectral upsampling sub-crate.
This commit is contained in:
parent
0fc8c32566
commit
fdad8f71bb
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -254,7 +254,7 @@ dependencies = [
|
||||||
"rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"scoped_threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"sobol 0.1.0",
|
"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)",
|
"time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"trifloat 0.1.0",
|
"trifloat 0.1.0",
|
||||||
]
|
]
|
||||||
|
@ -440,7 +440,7 @@ name = "sobol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "spectra_xyz"
|
name = "spectral_upsampling"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"float4 0.1.0",
|
"float4 0.1.0",
|
||||||
|
|
|
@ -8,7 +8,7 @@ members = [
|
||||||
"sub_crates/mem_arena",
|
"sub_crates/mem_arena",
|
||||||
"sub_crates/oct32norm",
|
"sub_crates/oct32norm",
|
||||||
"sub_crates/sobol",
|
"sub_crates/sobol",
|
||||||
"sub_crates/spectra_xyz",
|
"sub_crates/spectral_upsampling",
|
||||||
"sub_crates/trifloat"
|
"sub_crates/trifloat"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ path = "sub_crates/oct32norm"
|
||||||
[dependencies.sobol]
|
[dependencies.sobol]
|
||||||
path = "sub_crates/sobol"
|
path = "sub_crates/sobol"
|
||||||
|
|
||||||
[dependencies.spectra_xyz]
|
[dependencies.spectral_upsampling]
|
||||||
path = "sub_crates/spectra_xyz"
|
path = "sub_crates/spectral_upsampling"
|
||||||
|
|
||||||
[dependencies.trifloat]
|
[dependencies.trifloat]
|
||||||
path = "sub_crates/trifloat"
|
path = "sub_crates/trifloat"
|
|
@ -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};
|
pub use color::{rec709_e_to_xyz, rec709_to_xyz, xyz_to_rec709, xyz_to_rec709_e};
|
||||||
use float4::Float4;
|
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};
|
use crate::{lerp::Lerp, math::fast_exp};
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "spectra_xyz"
|
name = "spectral_upsampling"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Nathan Vegdahl <cessen@cessen.com>"]
|
authors = ["Nathan Vegdahl <cessen@cessen.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "spectra_xyz"
|
name = "spectral_upsampling"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
# Local crate dependencies
|
# Local crate dependencies
|
Loading…
Reference in New Issue
Block a user