bevy_mod_scripting 0.19.0

Multi language scripting in Bevy
Documentation
1
2
3
4
5
6
7
8
9
10
let a = Vec3.new_.call(2.0, 4.0, 6.0);
let b = Vec3.new_.call(1.0, 2.0, 3.0);

assert((a / 2).x == 1.0, "Division did not work");
assert((a / 2).y == 2.0, "Division did not work");
assert((a / 2).z == 3.0, "Division did not work");

assert((a / b).x == 2.0, "Division did not work");
assert((a / b).y == 2.0, "Division did not work");
assert((a / b).z == 2.0, "Division did not work");