bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Can cgpath be supported?

Open kotlin2018 opened this issue 3 years ago • 1 comments

What problem does this solve or what need does it fill?

A description of why this particular feature should be added.

What solution would you like?

The solution you propose for the problem presented.

What alternative(s) have you considered?

Other solutions to solve and/or work around the problem presented.

Additional context

Any other information you would like to add such as related previous work, screenshots, benchmarks, etc.

kotlin2018 avatar Nov 03 '22 10:11 kotlin2018

Do you mind providing more information about this? A quick google shows cgpath as being a Swift UI API? How would you imagine a Bevy integration here working?

james7132 avatar Nov 12 '22 15:11 james7132

Do you mind providing more information about this? A quick google shows cgpath as being a Swift UI API? How would you imagine a Bevy integration here working?

截屏2022-11-14 下午3 54 44

kotlin2018 avatar Nov 14 '22 07:11 kotlin2018

Bevy is using glam for math: https://crates.io/crates/glam

You can enable the mint feature on cgmath and glam to have compatibility between them, but cgmath won't be supported as first party.

mockersf avatar Nov 14 '22 08:11 mockersf