Factor mat.rs and sim.rs out of lib.rs
This commit is contained in:
@@ -50,7 +50,7 @@ impl ColorTermRenderer {
|
||||
let cell = state.get(x, y);
|
||||
//let r = norm_color(cell.bz() * consts::C);
|
||||
//let r = 0;
|
||||
let r = norm_color(cell.mat.mz());
|
||||
let r = norm_color(cell.mat().mz());
|
||||
let b = (55.0*cell.mat().conductivity()).min(255.0) as u8;
|
||||
//let b = 0;
|
||||
//let b = norm_color(cell.ey());
|
||||
|
Reference in New Issue
Block a user