Liam Gallagher

Results 24 comments of Liam Gallagher

Someone else also pointed out than inset could return an option instead of an empty rect when a negative insets absolute value is larger than the half size. Personally I...

I think we should add a `Cursor::new(grab_mode, visible, hit_test, icon)` method, currently if someone wants to modify the cursor of a window they have to construct it with `Cursor::default()` and...

Not 100% sure on how this should be implemented, glam uses tera templates for their types but that seems way over complicated for this case. The obvious way is to...

I'll have a go at this, SIMD is out of my scope, so I'll leave that for a future PR.

> I don't know if macro_rules is the best idea, it will break the doctest examples when writing floats or ints... I went down the macro_rules route and have now...

Would using something like tera templates be a viable option?

Maybe a `glam-rect` crate maintained separately from Bevy could work, that way the Bevy repo can stay free from any templating complexity.

> Sounds good to me. @LiamGallagher737 if you still want to helm that, I'll worry about SIMD. It's ready to merge in #7984

This also opens the opportunity to fix the issue in the `decodable` audio example being very loud by adding `.insert_resource(GlobalVolume::new(0.2))` to it. Tested it and it works.

Enum for volume makes a lot of sense, I'll have a go at changing the volume of already playing sounds. Would something like this work ```rs pub enum Volume {...