|
3 | 3 | #![allow(unused, deprecated, dead_code)]
|
4 | 4 | #![cfg_attr(rustfmt, rustfmt_skip)]
|
5 | 5 | use super::bevy_reflect::*;
|
6 |
| -use bevy_mod_scripting_core::{ |
7 |
| - AddContextInitializer, StoreDocumentation, |
8 |
| - bindings::{ |
9 |
| - ReflectReference, |
10 |
| - function::{ |
11 |
| - from::{Ref, Mut, Val}, |
12 |
| - namespace::NamespaceBuilder, |
13 |
| - }, |
| 6 | +use bevy_mod_scripting_core::bindings::{ |
| 7 | + ReflectReference, |
| 8 | + function::{ |
| 9 | + from::{Ref, Mut, Val}, |
| 10 | + namespace::NamespaceBuilder, |
14 | 11 | },
|
15 | 12 | };
|
16 | 13 | use crate::*;
|
@@ -292,22 +289,22 @@ impl ::bevy::app::Plugin for BevyMathScriptingPlugin {
|
292 | 289 | )
|
293 | 290 | .register(
|
294 | 291 | "mul",
|
295 |
| - | |
296 |
| - _self: Val<bevy::math::Isometry3d>, |
297 |
| - rhs: Val<bevy::math::prelude::Dir3>| |
298 |
| - { |
299 |
| - let output: Val<bevy::math::prelude::Dir3> = <bevy::math::Isometry3d as std::ops::Mul< |
300 |
| - bevy::math::prelude::Dir3, |
| 292 | + |_self: Val<bevy::math::Isometry3d>, rhs: Val<bevy::math::Isometry3d>| { |
| 293 | + let output: Val<bevy::math::Isometry3d> = <bevy::math::Isometry3d as std::ops::Mul< |
| 294 | + bevy::math::Isometry3d, |
301 | 295 | >>::mul(_self.into_inner(), rhs.into_inner())
|
302 | 296 | .into();
|
303 | 297 | output
|
304 | 298 | },
|
305 | 299 | )
|
306 | 300 | .register(
|
307 | 301 | "mul",
|
308 |
| - |_self: Val<bevy::math::Isometry3d>, rhs: Val<bevy::math::Isometry3d>| { |
309 |
| - let output: Val<bevy::math::Isometry3d> = <bevy::math::Isometry3d as std::ops::Mul< |
310 |
| - bevy::math::Isometry3d, |
| 302 | + | |
| 303 | + _self: Val<bevy::math::Isometry3d>, |
| 304 | + rhs: Val<bevy::math::prelude::Dir3>| |
| 305 | + { |
| 306 | + let output: Val<bevy::math::prelude::Dir3> = <bevy::math::Isometry3d as std::ops::Mul< |
| 307 | + bevy::math::prelude::Dir3, |
311 | 308 | >>::mul(_self.into_inner(), rhs.into_inner())
|
312 | 309 | .into();
|
313 | 310 | output
|
|
0 commit comments