dimforge / dimforge/nalgebra

Generalize transforms (translation, rotation, scaling)

Open
#1,571 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

There's room left for generalization with respect to dimensionality when it comes to transforms in nalgebra.

Most:
- [x] `Translation`
- [ ] `Rotation` (see [General n-Dimensional Rotations](http://wscg.zcu.cz/wscg2004/Papers_2004_Short/N29.pdf))
- [x] `Scaling`
- [ ] `Transform`
- [ ] `Perspective` projection
- [ ] `Orthographic` projection

Some of these are relatively easy to generalize. Some are not that useful (like projections), but it would be cool to have code that just works no matter the dimension. Rotation might be useful for topology and scientific applications (beyond just rendering) - implementing this and generalizing Transform was the main motivator for opening this issues.

However, I don't personally need this right now. I just wanted to propose this as I don't see any good alternatives.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.