wrnrlr / g3

Neat 3D math and graphics library
ISC License
32 stars 2 forks source link

Make rotor field public #6

Closed Makogan closed 1 year ago

Makogan commented 1 year ago

To allow for custom initialization not supported by lib.

e.g quaternion to rotor.

wrnrlr commented 1 year ago

I there a reason not to use something like Rotor::from([1.0, 0.0, 0.0, 1.0])?

wrnrlr commented 1 year ago

Ok, I'll except it, probably the other elements should be made public at some point in case someone want to optimise some operation.