Format these math comments so that they render properly for a tex-aware editor

Also document an error in the current logic
This commit is contained in:
2020-08-16 20:14:46 -07:00
parent 4bfe282c36
commit dff8166906
3 changed files with 62 additions and 26 deletions

View File

@@ -51,7 +51,8 @@ impl ColorTermRenderer {
let cell = state.get(x, y);
//let r = norm_color(cell.bz() * consts::C);
let r = 0;
let b = 0;
let b = (55.0*cell.mat().conductivity).min(255.0) as u8;
//let b = 0;
//let g = norm_color(cell.ex());
//let b = norm_color(cell.ey());
//let g = norm_color(curl(cell.ex(), cell.ey()));