Object methods should return a &mut reference so that chained setters could work.
example of potential synctax:
engine.objects.get_mut("object name").set_scale(1f32,1f32,1f32).set_position(100f32,100f32,100f32);
This helps lessen the boilerplate and will come at no cost to the current API syntax.
This was originally proposed by @bourbakas on Discord server
Object methods should return a
&mutreference so that chained setters could work.example of potential synctax:
This helps lessen the boilerplate and will come at no cost to the current API syntax.
This was originally proposed by
@bourbakason Discord server