Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork436
[3.0] Generic Maths Implementation.#2459
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
Tweety-Lab wants to merge58 commits intodotnet:develop/3.0Choose a base branch fromTweety-Lab:feature/math-3.0
base:develop/3.0
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Draft
Changes from1 commit
Commits
Show all changes
58 commits Select commitHold shift + click to select a range
3c95d6d
start of 3.0 Silk.Net.Maths rewrite
Tweety-Lab04846e7
Start work on Vector2I.
Tweety-Lab7afd57f
Finish implementing Vector2I Interfaces.
Tweety-Lab249be1f
Add Vector2I Unit properties.
Tweety-Lab709c142
Add Vector3I Maths methods.
Tweety-Lab94a912d
Add more missing Vector2I requirements.
Tweety-Lab051785d
Add `Vector3I`.
Tweety-Lab88b8405
Change VectorI XML comments.
Tweety-Labd1eade9
Add `Vector4I`.
Tweety-Lab9b68e35
Improve VectorI equality checks.
Tweety-Lab6a3cf88
Start work on new `Quaternion`.
Tweety-Labcc7ebb6
Clarify current state of new Math type's indexers.
Tweety-Lab6af8612
Add lower-dimensional VectorI constructors.
Tweety-Lab737b5a8
Add `Vector2F`.
Tweety-Lab191de4e
Include generated code.
otac0n1cecebe
Merge pull request #1 from otac0n/feature/math-3.0
Tweety-Lab291ec1e
Generated constructors, operators, and indexers.
otac0ncfee012
Whitespace and comments.
otac0n91c7982
Added transpose, negate, and identity.
otac0n650f30b
Added some necessary vector bits for testing.
otac0n8ebcfb9
Merge pull request #2 from otac0n/feature/math-3.0
Tweety-Lab9bd27fe
Add Lerp and a couple of bugfixes.
otac0na617eb8
Remove `IBinaryFloatingPointIeee754` reference.
Tweety-Labd57f94d
Make `VectorNI` Vectors use a `ref` indexer.
Tweety-Labd5a8b54
Use partial implementations from code gen.
otac0n3c538bd
Make `Vector2F` Vector use a `ref` indexer.
Tweety-Lab4f74ab3
Fix vector `ref` indexer exception messages.
Tweety-Labc9e57f2
Merge branch 'feature/math-3.0' of https://github.com/Tweety-Lab/Silk…
otac0na4b8a6c
Move constructors & existing interfaces.
otac0n5a82141
IReadOnlyList<T> code gen.
otac0n16e68e2
Fix errors with Quaternion accessibility.
otac0n7efc1eb
Merge pull request #3 from otac0n/feature/math-3.0
Tweety-Lab0cb1569
Move common operators and interfaces into templates.
otac0nc9ce628
Use Legacy namespace qualifications for lecacy Quaternion.
otac0naac298a
Generate constructors to extend smaller vectors.
otac0n25f6994
Removed AllBitsSet from Vector2F.
otac0n41aa58d
Generate vector specific methods in templates.
otac0n0f2d43c
Merge pull request #4 from otac0n/feature/math-3.0
Tweety-Lab09e674c
Snapshot.
otac0n070c6f5
Replace generated I/F types with D types.
otac0naefd7ea
Merge matrix types.
otac0nacaf6b4
Update existing types to use INumberBase.
otac0nffb7f58
Fix errors.
otac0nd07c355
Code-gen more matrix implememtations.
otac0n80fbbfc
Types that need Min/Max (e.g. Box) use INumber instead of INumberBase…
otac0n2a79fd8
Added explicit casts for vectors.
otac0n5e0e7d9
Use extension properties for LengthSquared and Length. Use these for…
otac0n5973151
Generate more vector functions and reorganize.
otac0n69be9de
Fix type constraints.
otac0n75b1c5d
Overloads for casts, As, CreateChecked, CreateSaturating, and CreateT…
otac0nac8e94e
Handle IsIdentity and GetDeterminant errors.
otac0nf71206c
Use T.Zero instead of default to avoid NRE.
otac0n0345ba5
Code-gen multiply operators.
otac0n9497be8
Recovered Old Quaternion implementation.
otac0n9aa76de
Fix Obsolete warnings.
otac0n2d6c95b
XML Doc Comments.
otac0n1c2b6f8
Reset APIs.
otac0nbfe143c
Merge pull request #5 from otac0n/feature/math-3.0
Tweety-LabFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Add Vector3I Maths methods.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit709c14295d051c3131074189a1f395310c0bb2c4
There are no files selected for viewing
99 changes: 96 additions & 3 deletionssources/Maths/Maths/Vector2I.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.