Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to System.Numerics #90

Open
escape-llc opened this issue Feb 23, 2022 · 0 comments
Open

Switch to System.Numerics #90

escape-llc opened this issue Feb 23, 2022 · 0 comments
Labels
feature item is a feature request
Milestone

Comments

@escape-llc
Copy link
Owner

Summary

Switch to the System.Numerics types for geometry and linear algebra, because they are not defined on device coordinates.

For example, a Rect with negative coordinates configures itself such that negative Y is "higher" than positive Y (device coordinates). This makes representing "world" geometry problematic.

Actual Behavior

Currently using "old style" geometry/linear algebra objects like Rect and Point and Matrix.

Expected Behavior

Easier use of linear algebra in world coordinates.

Additional Details

In particular the Vector2 Vector3 and Matrix3x2 classes can replace existing uses. This also makes it easier to interoperate with Translation which takes a Vector3.

@escape-llc escape-llc added the feature item is a feature request label Feb 23, 2022
@escape-llc escape-llc added this to the Nuget 2.1.0 milestone Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature item is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant