Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ impl ::bevy::app::Plugin for BevyTransformScriptingPlugin {
"mul",
|
_self: Val<bevy::transform::components::GlobalTransform>,
transform: Val<bevy::transform::components::Transform>|
global_transform: Val<bevy::transform::components::GlobalTransform>|
{
let output: Val<bevy::transform::components::GlobalTransform> = <bevy::transform::components::GlobalTransform as std::ops::Mul<
bevy::transform::components::Transform,
>>::mul(_self.into_inner(), transform.into_inner())
bevy::transform::components::GlobalTransform,
>>::mul(_self.into_inner(), global_transform.into_inner())
.into();
output
},
Expand All @@ -82,11 +82,11 @@ impl ::bevy::app::Plugin for BevyTransformScriptingPlugin {
"mul",
|
_self: Val<bevy::transform::components::GlobalTransform>,
global_transform: Val<bevy::transform::components::GlobalTransform>|
transform: Val<bevy::transform::components::Transform>|
{
let output: Val<bevy::transform::components::GlobalTransform> = <bevy::transform::components::GlobalTransform as std::ops::Mul<
bevy::transform::components::GlobalTransform,
>>::mul(_self.into_inner(), global_transform.into_inner())
bevy::transform::components::Transform,
>>::mul(_self.into_inner(), transform.into_inner())
.into();
output
},
Expand Down
16 changes: 8 additions & 8 deletions crates/bevy_mod_scripting_functions/src/bevy_bindings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
#![allow(clippy::all)]
#![allow(unused, deprecated, dead_code)]
#![cfg_attr(rustfmt, rustfmt_skip)]
pub mod bevy_ecs;
pub mod bevy_transform;
pub mod bevy_reflect;
pub mod bevy_math;
pub mod bevy_input;
pub mod bevy_transform;
pub mod bevy_core;
pub mod bevy_time;
pub mod bevy_hierarchy;
pub mod bevy_reflect;
pub mod bevy_ecs;
pub mod bevy_time;
pub struct LuaBevyScriptingPlugin;
impl ::bevy::app::Plugin for LuaBevyScriptingPlugin {
fn build(&self, app: &mut ::bevy::prelude::App) {
bevy_ecs::BevyEcsScriptingPlugin.build(app);
bevy_transform::BevyTransformScriptingPlugin.build(app);
bevy_reflect::BevyReflectScriptingPlugin.build(app);
bevy_math::BevyMathScriptingPlugin.build(app);
bevy_input::BevyInputScriptingPlugin.build(app);
bevy_transform::BevyTransformScriptingPlugin.build(app);
bevy_core::BevyCoreScriptingPlugin.build(app);
bevy_time::BevyTimeScriptingPlugin.build(app);
bevy_hierarchy::BevyHierarchyScriptingPlugin.build(app);
bevy_reflect::BevyReflectScriptingPlugin.build(app);
bevy_ecs::BevyEcsScriptingPlugin.build(app);
bevy_time::BevyTimeScriptingPlugin.build(app);
}
}