kvark / mint

Math Interoperability Types
MIT License
253 stars 20 forks source link

Strong typing #6

Closed kvark closed 7 years ago

kvark commented 7 years ago

Fixes #4

This is a rewrite of the library to provide strong types.

r? @Ralith

kvark commented 7 years ago

@msiglreith please have a look at the new rotation types. After a bit of investigation, I agree that the choice if cgmath-rs in unconventional, and I believe mint should strike for established conventions instead (both of them...).

Edit: it's not clear what convention nalgebra is using. (Really? cgmath docs are so much clearer).

msiglreith commented 7 years ago

Looks nice! 👍 As the library is focused on compute graphics I wondering which coordinate system to apply. Most applications probably will focus on realtime rendering, where usually Y is specified as the up direction in contrast to Z.