Skip to content

Feature flag for repr(C) Quat #541

@ScottKane

Description

@ScottKane

I have been working on a PR for Bevy which allows their types to be passed over FFI using repr(C), however as the Quat implementation Bevy is using from glam is repr(simd) it is not compatible with C FFI (see rust-lang/rust#53346). It was suggested to upstream changes here to reduce complexity in maintaining repr(C) wrapper types to mitigate this in Bevy.

Would you be opposed to a PR implementing a repr(C) version of Quat?

See this PR for current workaround - bevyengine/bevy#14362

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions