warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/instance.rs:266:33
|
266 | transparency *= 0.212671 * transparent[0]
| _________________________________^
267 | | + 0.715160 * transparent[1]
268 | | + 0.072169 * transparent[2];
| |_______________________________________________^ help: consider using: `0.072169f32.mul_add(transparent[2], 0.212671 * transparent[0] + 0.715160 * transparent[1])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
= note: `-W clippy::suboptimal-flops` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::suboptimal_flops)]`
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/instance.rs:266:33
|
266 | transparency *= 0.212671 * transparent[0]
| _________________________________^
267 | | + 0.715160 * transparent[1]
| |_______________________________________________^ help: consider using: `0.212671f32.mul_add(transparent[0], 0.715160 * transparent[1])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:100:20
|
100 | r[0] = a[1] * b[2] - a[2] * b[1];
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `a[1].mul_add(b[2], -(a[2] * b[1]))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:101:20
|
101 | r[0] = a[2] * b[0] - a[0] * b[2];
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `a[2].mul_add(b[0], -(a[0] * b[2]))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:102:20
|
102 | r[0] = a[0] * b[1] - a[1] * b[0];
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `a[0].mul_add(b[1], -(a[1] * b[0]))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:106:30
|
106 | let square_len = v[0] * v[0] + v[1] * v[1] + v[2] * v[2];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `v[2].mul_add(v[2], v[0] * v[0] + v[1] * v[1])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:106:30
|
106 | let square_len = v[0] * v[0] + v[1] * v[1] + v[2] * v[2];
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `v[0].mul_add(v[0], v[1] * v[1])`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:244:13
|
244 | t * x * x + c,
| ^^^^^^^^^^^^^ help: consider using: `(t * x).mul_add(x, c)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:245:13
|
245 | t * x * y - s * z,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * x).mul_add(y, -(s * z))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:246:13
|
246 | t * x * z + s * y,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * x).mul_add(z, s * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:248:13
|
248 | t * x * y + s * z,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * x).mul_add(y, s * z)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:249:13
|
249 | t * y * y + c,
| ^^^^^^^^^^^^^ help: consider using: `(t * y).mul_add(y, c)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:250:13
|
250 | t * y * z - s * x,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * y).mul_add(z, -(s * x))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:252:13
|
252 | t * x * z - s * y,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * x).mul_add(z, -(s * y))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:253:13
|
253 | t * y * z + s * x,
| ^^^^^^^^^^^^^^^^^ help: consider using: `(t * y).mul_add(z, s * x)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:254:13
|
254 | t * z * z + c,
| ^^^^^^^^^^^^^ help: consider using: `(t * z).mul_add(z, c)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:317:19
|
317 | self[0] = m.a1 * x + m.a2 * y + m.a3 * z;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a3.mul_add(z, m.a1 * x + m.a2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:317:19
|
317 | self[0] = m.a1 * x + m.a2 * y + m.a3 * z;
| ^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a1.mul_add(x, m.a2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:318:19
|
318 | self[1] = m.b1 * x + m.b2 * y + m.b3 * z;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.b3.mul_add(z, m.b1 * x + m.b2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:318:19
|
318 | self[1] = m.b1 * x + m.b2 * y + m.b3 * z;
| ^^^^^^^^^^^^^^^^^^^ help: consider using: `m.b1.mul_add(x, m.b2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:319:19
|
319 | self[2] = m.c1 * x + m.c2 * y + m.c3 * z;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c3.mul_add(z, m.c1 * x + m.c2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:319:19
|
319 | self[2] = m.c1 * x + m.c2 * y + m.c3 * z;
| ^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c1.mul_add(x, m.c2 * y)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:325:19
|
325 | self.a1 = m.a1 * t.a1 + m.b1 * t.a2 + m.c1 * t.a3 + m.d1 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d1.mul_add(t.a4, m.a1 * t.a1 + m.b1 * t.a2 + m.c1 * t.a3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:325:19
|
325 | self.a1 = m.a1 * t.a1 + m.b1 * t.a2 + m.c1 * t.a3 + m.d1 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c1.mul_add(t.a3, m.a1 * t.a1 + m.b1 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:325:19
|
325 | self.a1 = m.a1 * t.a1 + m.b1 * t.a2 + m.c1 * t.a3 + m.d1 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a1.mul_add(t.a1, m.b1 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:326:19
|
326 | self.a2 = m.a2 * t.a1 + m.b2 * t.a2 + m.c2 * t.a3 + m.d2 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d2.mul_add(t.a4, m.a2 * t.a1 + m.b2 * t.a2 + m.c2 * t.a3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:326:19
|
326 | self.a2 = m.a2 * t.a1 + m.b2 * t.a2 + m.c2 * t.a3 + m.d2 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c2.mul_add(t.a3, m.a2 * t.a1 + m.b2 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:326:19
|
326 | self.a2 = m.a2 * t.a1 + m.b2 * t.a2 + m.c2 * t.a3 + m.d2 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a2.mul_add(t.a1, m.b2 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:327:19
|
327 | self.a3 = m.a3 * t.a1 + m.b3 * t.a2 + m.c3 * t.a3 + m.d3 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d3.mul_add(t.a4, m.a3 * t.a1 + m.b3 * t.a2 + m.c3 * t.a3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:327:19
|
327 | self.a3 = m.a3 * t.a1 + m.b3 * t.a2 + m.c3 * t.a3 + m.d3 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c3.mul_add(t.a3, m.a3 * t.a1 + m.b3 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:327:19
|
327 | self.a3 = m.a3 * t.a1 + m.b3 * t.a2 + m.c3 * t.a3 + m.d3 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a3.mul_add(t.a1, m.b3 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:328:19
|
328 | self.a4 = m.a4 * t.a1 + m.b4 * t.a2 + m.c4 * t.a3 + m.d4 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d4.mul_add(t.a4, m.a4 * t.a1 + m.b4 * t.a2 + m.c4 * t.a3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:328:19
|
328 | self.a4 = m.a4 * t.a1 + m.b4 * t.a2 + m.c4 * t.a3 + m.d4 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c4.mul_add(t.a3, m.a4 * t.a1 + m.b4 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:328:19
|
328 | self.a4 = m.a4 * t.a1 + m.b4 * t.a2 + m.c4 * t.a3 + m.d4 * t.a4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a4.mul_add(t.a1, m.b4 * t.a2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:329:19
|
329 | self.b1 = m.a1 * t.b1 + m.b1 * t.b2 + m.c1 * t.b3 + m.d1 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d1.mul_add(t.b4, m.a1 * t.b1 + m.b1 * t.b2 + m.c1 * t.b3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:329:19
|
329 | self.b1 = m.a1 * t.b1 + m.b1 * t.b2 + m.c1 * t.b3 + m.d1 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c1.mul_add(t.b3, m.a1 * t.b1 + m.b1 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:329:19
|
329 | self.b1 = m.a1 * t.b1 + m.b1 * t.b2 + m.c1 * t.b3 + m.d1 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a1.mul_add(t.b1, m.b1 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:330:19
|
330 | self.b2 = m.a2 * t.b1 + m.b2 * t.b2 + m.c2 * t.b3 + m.d2 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d2.mul_add(t.b4, m.a2 * t.b1 + m.b2 * t.b2 + m.c2 * t.b3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:330:19
|
330 | self.b2 = m.a2 * t.b1 + m.b2 * t.b2 + m.c2 * t.b3 + m.d2 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c2.mul_add(t.b3, m.a2 * t.b1 + m.b2 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:330:19
|
330 | self.b2 = m.a2 * t.b1 + m.b2 * t.b2 + m.c2 * t.b3 + m.d2 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a2.mul_add(t.b1, m.b2 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:331:19
|
331 | self.b3 = m.a3 * t.b1 + m.b3 * t.b2 + m.c3 * t.b3 + m.d3 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d3.mul_add(t.b4, m.a3 * t.b1 + m.b3 * t.b2 + m.c3 * t.b3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:331:19
|
331 | self.b3 = m.a3 * t.b1 + m.b3 * t.b2 + m.c3 * t.b3 + m.d3 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c3.mul_add(t.b3, m.a3 * t.b1 + m.b3 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:331:19
|
331 | self.b3 = m.a3 * t.b1 + m.b3 * t.b2 + m.c3 * t.b3 + m.d3 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a3.mul_add(t.b1, m.b3 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:332:19
|
332 | self.b4 = m.a4 * t.b1 + m.b4 * t.b2 + m.c4 * t.b3 + m.d4 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d4.mul_add(t.b4, m.a4 * t.b1 + m.b4 * t.b2 + m.c4 * t.b3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:332:19
|
332 | self.b4 = m.a4 * t.b1 + m.b4 * t.b2 + m.c4 * t.b3 + m.d4 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c4.mul_add(t.b3, m.a4 * t.b1 + m.b4 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:332:19
|
332 | self.b4 = m.a4 * t.b1 + m.b4 * t.b2 + m.c4 * t.b3 + m.d4 * t.b4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a4.mul_add(t.b1, m.b4 * t.b2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:333:19
|
333 | self.c1 = m.a1 * t.c1 + m.b1 * t.c2 + m.c1 * t.c3 + m.d1 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d1.mul_add(t.c4, m.a1 * t.c1 + m.b1 * t.c2 + m.c1 * t.c3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:333:19
|
333 | self.c1 = m.a1 * t.c1 + m.b1 * t.c2 + m.c1 * t.c3 + m.d1 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c1.mul_add(t.c3, m.a1 * t.c1 + m.b1 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:333:19
|
333 | self.c1 = m.a1 * t.c1 + m.b1 * t.c2 + m.c1 * t.c3 + m.d1 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a1.mul_add(t.c1, m.b1 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:334:19
|
334 | self.c2 = m.a2 * t.c1 + m.b2 * t.c2 + m.c2 * t.c3 + m.d2 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d2.mul_add(t.c4, m.a2 * t.c1 + m.b2 * t.c2 + m.c2 * t.c3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:334:19
|
334 | self.c2 = m.a2 * t.c1 + m.b2 * t.c2 + m.c2 * t.c3 + m.d2 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c2.mul_add(t.c3, m.a2 * t.c1 + m.b2 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:334:19
|
334 | self.c2 = m.a2 * t.c1 + m.b2 * t.c2 + m.c2 * t.c3 + m.d2 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a2.mul_add(t.c1, m.b2 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:335:19
|
335 | self.c3 = m.a3 * t.c1 + m.b3 * t.c2 + m.c3 * t.c3 + m.d3 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d3.mul_add(t.c4, m.a3 * t.c1 + m.b3 * t.c2 + m.c3 * t.c3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:335:19
|
335 | self.c3 = m.a3 * t.c1 + m.b3 * t.c2 + m.c3 * t.c3 + m.d3 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c3.mul_add(t.c3, m.a3 * t.c1 + m.b3 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:335:19
|
335 | self.c3 = m.a3 * t.c1 + m.b3 * t.c2 + m.c3 * t.c3 + m.d3 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a3.mul_add(t.c1, m.b3 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:336:19
|
336 | self.c4 = m.a4 * t.c1 + m.b4 * t.c2 + m.c4 * t.c3 + m.d4 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d4.mul_add(t.c4, m.a4 * t.c1 + m.b4 * t.c2 + m.c4 * t.c3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:336:19
|
336 | self.c4 = m.a4 * t.c1 + m.b4 * t.c2 + m.c4 * t.c3 + m.d4 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c4.mul_add(t.c3, m.a4 * t.c1 + m.b4 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:336:19
|
336 | self.c4 = m.a4 * t.c1 + m.b4 * t.c2 + m.c4 * t.c3 + m.d4 * t.c4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a4.mul_add(t.c1, m.b4 * t.c2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:337:19
|
337 | self.d1 = m.a1 * t.d1 + m.b1 * t.d2 + m.c1 * t.d3 + m.d1 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d1.mul_add(t.d4, m.a1 * t.d1 + m.b1 * t.d2 + m.c1 * t.d3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:337:19
|
337 | self.d1 = m.a1 * t.d1 + m.b1 * t.d2 + m.c1 * t.d3 + m.d1 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c1.mul_add(t.d3, m.a1 * t.d1 + m.b1 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:337:19
|
337 | self.d1 = m.a1 * t.d1 + m.b1 * t.d2 + m.c1 * t.d3 + m.d1 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a1.mul_add(t.d1, m.b1 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:338:19
|
338 | self.d2 = m.a2 * t.d1 + m.b2 * t.d2 + m.c2 * t.d3 + m.d2 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d2.mul_add(t.d4, m.a2 * t.d1 + m.b2 * t.d2 + m.c2 * t.d3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:338:19
|
338 | self.d2 = m.a2 * t.d1 + m.b2 * t.d2 + m.c2 * t.d3 + m.d2 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c2.mul_add(t.d3, m.a2 * t.d1 + m.b2 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:338:19
|
338 | self.d2 = m.a2 * t.d1 + m.b2 * t.d2 + m.c2 * t.d3 + m.d2 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a2.mul_add(t.d1, m.b2 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:339:19
|
339 | self.d3 = m.a3 * t.d1 + m.b3 * t.d2 + m.c3 * t.d3 + m.d3 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d3.mul_add(t.d4, m.a3 * t.d1 + m.b3 * t.d2 + m.c3 * t.d3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:339:19
|
339 | self.d3 = m.a3 * t.d1 + m.b3 * t.d2 + m.c3 * t.d3 + m.d3 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c3.mul_add(t.d3, m.a3 * t.d1 + m.b3 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:339:19
|
339 | self.d3 = m.a3 * t.d1 + m.b3 * t.d2 + m.c3 * t.d3 + m.d3 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a3.mul_add(t.d1, m.b3 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:340:19
|
340 | self.d4 = m.a4 * t.d1 + m.b4 * t.d2 + m.c4 * t.d3 + m.d4 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.d4.mul_add(t.d4, m.a4 * t.d1 + m.b4 * t.d2 + m.c4 * t.d3)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:340:19
|
340 | self.d4 = m.a4 * t.d1 + m.b4 * t.d2 + m.c4 * t.d3 + m.d4 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.c4.mul_add(t.d3, m.a4 * t.d1 + m.b4 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
warning: multiply and add expressions can be calculated more efficiently and accurately
--> src/collada/scene.rs:340:19
|
340 | self.d4 = m.a4 * t.d1 + m.b4 * t.d2 + m.c4 * t.d3 + m.d4 * t.d4;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.a4.mul_add(t.d1, m.b4 * t.d2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops