Skip to content

Use Silk.NET.Maths in OpenXR #506

Description

@Perksey

We have our own Maths types, but it seems we've generated bindings for OpenXR's maths types and are using them instead.

We should remove our bindings for the OpenXR maths types and use typemaps to use Silk.NET.Maths' types instead.

Activity

  1. added this to the milestone on Jun 5, 2021
  2. self-assigned this
    on Jun 5, 2021
  3. modified the milestone: 3.0 on Jun 11, 2021
  4. removed their assignment
    on May 20, 2022
  5. Perksey commented on Aug 23, 2026

    @Perksey
    MemberAuthor

    for info @Exanite not sure if we still want to do this

  6. Exanite commented on Aug 24, 2026

    @Exanite
    Member

    Yup, I saw this. This is why I have the really long review comment here with a list of potentially relevant types: #2590 (comment)

  7. Exanite commented on Aug 24, 2026

    @Exanite
    Member

    I'm leaning towards handling these in some way. Either by adding casts where possible or by directly remapping these types.
    Not doing so would be annoying having to copy from a Silk/Numerics type to the corresponding API-specific type.

  8. Perksey commented on Aug 24, 2026

    @Perksey
    MemberAuthor

    I'd just remap them tbh, we did this in some places in 2.0 and never heard a complaint. This issue is mostly an oversight in 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions