Improve links to 2D vs 3D transforms math descriptions. #583
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.
The motivation here is that, while I'm implementing a TypeScript polyfill for geometry-interfaces, it could be more clear exactly what math needs to be implemented. For example, some methods that do 3D transforms were linking only to the 2D descriptions in css-transforms-1, so I also added links to 3D math descriptions in css-transforms-2 for clarity as well as for ease of exploration and navigation.
Is this the right way to do it?
A question I have is, why are 2D descriptions separated from 3D descriptions across css-transforms-1 and css-transforms-2? Why doesn't the latest spec (css-transforms-2?) contain all the information so that linking we only need to link to css-transforms-2 and not css-transforms-1?
For now, this is the simplest change to geometry-1, but I feel like it would be better if the latest css-transforms spec had all relevant details, and geometry-* would only link to the latest css-transforms-* spec.
Related issue:
This PR helps ensure links to all math descriptions are present.