Skip to content

A maths library for Silk.NET #359

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

Merged
merged 90 commits into from
Dec 4, 2020
Merged

A maths library for Silk.NET #359

merged 90 commits into from
Dec 4, 2020

Conversation

HurricanKai
Copy link
Member

@HurricanKai HurricanKai commented Nov 29, 2020

Yet another Maths PR part 3

@HurricanKai
Copy link
Member Author

For future reference: once these comments are addressed, please review Matrix4x4/Matrix3x3 individually, as they provide a lot more stuff not present in the others.

Copy link
Member

@Perksey Perksey left a comment

Choose a reason for hiding this comment

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

etc. These comments probably apply to the other matrices as well

We should probably reformat code eventually

@Perksey Perksey merged commit 0ab12bf into 2.0 Dec 4, 2020
@Perksey Perksey deleted the feature/maths branch December 4, 2020 17:35
Perksey added a commit that referenced this pull request Nov 20, 2023
* Initial commit

* gitignore

* Exclude Idea folder

* Restructure project

* Add Operations and Constants

* Add Vector2 and Tests

* Vector3

* Vector4

* Matrix4x4

* Integrate Matrix4x4

* Plane

* Quaternion

* Matrix3x2

* Add PublicAPI Tracking

* Document Constants

* Document remaining Vector2 methods

* Add extension methods for converting generic to/from non-generic types

* FromSystem -> ToGeneric

* Add explicit casts

* Add Log

* Add Exp

* Pow & Abs

* Improve Abs with HWIntrinsics

* Improve Log with... things

* Improve Exp somewhat

* Document all the things

* Ray2/3D

* Circle & Sphere

* Cube & Rect

* Matrix4x3

* Matrix3x4

* Matrix3x3

* Matrix2x3

* Matrix2x2 & Multiplications

* Remove D suffix

* I hate matrices

* Renames & ctors

* Merge Part 2

* Vector * Matrix

* Scalar.Inverse<T>

* Floor improvement

* Abs improvements

* Round optimization

* Sqrt improvement

* Integrate into Solution, Multi-target

* Rect -> Rectangle

* Update Benchmarks to use System.Math on NetFx4.8

* More improvements

* Round

* Fix Tables on non-POH platforms

* Bounds2/3

* Bounds2 -> Box2

* Bounds3 -> Box3

* Box2 & Box3 APIs

* Cube & Rectangle API

* Remove Maths solution

* Rename folders

* Remove unecessary files

* Best Serialization effort

* Tired

* Circle/Sphere

* Update API

* Vectors AAA

* Update API tracking

* Remove MS Toolkit dependency

* Both net5.0 and netcoreapp3.1 (and netframework4.8) are required for tests

* Integrate MathHelper into Scalar

* Fix Diameter

* 768

* Plane.D -> Plane.Distance

* readonly getters

* Two more methods marked as readonly

* Add .editorconfig

* Add source

* Reciprocal

* Length/Squared to Properties

* Extract Vector2 statics

* Extract Vector3 statics

* Extract Vector4 statics

* Extract Plane statics

* Extract Matrix4x4 statics

* Cleanup rest

* Add Indexers

* Document more

* Fix last warnings

* Add VS Test runner

* Address some review comments

* Move static classes to Ops files

Co-authored-by: Dylan Perks <dmp9biz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants