Skip to content

Tweak the Simd-compatible matrices and vectors - #2668

Merged
spouliot merged 1 commit into
dotnet:xcode9from
rolfbjarne:simd-matrices-opentk-compat
Sep 13, 2017
Merged

Tweak the Simd-compatible matrices and vectors#2668
spouliot merged 1 commit into
dotnet:xcode9from
rolfbjarne:simd-matrices-opentk-compat

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member
  • Rename them to be OpenTK.NMatrix# (instead of Simd.MatrixFloat#x#).
  • Remove the Vector2 and Vector4 variants, we'll use the OpenTK types instead (but we'll keep the NVector3 variant, since it's not identical to the OpenTK version).
  • Update the API to match their OpenTK counterparts better:
    • NMatrix2 and NMatrix3 have a 0-based R#C# scheme for their fields.
    • NMatrix4 has a 1-based M## scheme for its fields (i.e. no change).

* Rename them to be OpenTK.NMatrix# (instead of Simd.MatrixFloat#x#).
* Remove the Vector2 and Vector4 variants, we'll use the OpenTK types instead (but we'll keep the NVector3 variant, since it's not identical to the OpenTK version).
* Update the API to match their OpenTK counterparts better:
    * NMatrix2 and NMatrix3 have a 0-based R#C# scheme for their fields.
    * NMatrix4 has a 1-based M## scheme for its fields (i.e. no change).
@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@migueldeicaza migueldeicaza left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to me.

@spouliot
spouliot merged commit 7a674ec into dotnet:xcode9 Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants