( _: impl Ctx, /// The left-hand side of the addition operation. #[implementations(f64, f32, u32, DVec2, f64, DVec2)] augend: A, /// The right-hand side of the addition operation. #[implementati
| 82 | /// The addition operation (`+`) calculates the sum of two scalar numbers or vectors. |
| 83 | #[node_macro::node(category("Math: Arithmetic"))] |
| 84 | fn add<A: Add<B>, B>( |
| 85 | _: impl Ctx, |
| 86 | /// The left-hand side of the addition operation. |
| 87 | #[implementations(f64, f32, u32, DVec2, f64, DVec2)] |
| 88 | augend: A, |
| 89 | /// The right-hand side of the addition operation. |
| 90 | #[implementations(f64, f32, u32, DVec2, DVec2, f64)] |
| 91 | addend: B, |
| 92 | ) -> <A as Add<B>>::Output { |
| 93 | augend + addend |
| 94 | } |
| 95 | |
| 96 | /// The subtraction operation (`-`) calculates the difference between two scalar numbers or vectors. |
| 97 | #[node_macro::node(category("Math: Arithmetic"))] |
nothing calls this directly
no outgoing calls
no test coverage detected