Fix all warnings
This commit is contained in:
parent
2bc5ec93fe
commit
ae4dc2c21a
26 changed files with 249 additions and 185 deletions
|
|
@ -36,7 +36,7 @@ impl Iridescent {
|
|||
let phi = 2.0 * f32::consts::PI * self.n2 * self.d2 * theta2.cos() / l;
|
||||
|
||||
let num_real = r12 * (1.0 - f32::cos(-2.0 * phi));
|
||||
let num_imag = r12 * (-1.0 * f32::sin(-2.0 * phi));
|
||||
let num_imag = r12 * -f32::sin(-2.0 * phi);
|
||||
|
||||
let denom_real = 1.0 - r12 * r12 * f32::cos(-2.0 * phi);
|
||||
let denom_imag = 0.0 - r12 * r12 * f32::sin(-2.0 * phi);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue