ebassi / graphene

A thin layer of graphic data types
http://ebassi.github.io/graphene
Other
373 stars 80 forks source link

[Request]Quaternion from between vectors #263

Open mkohlhaas opened 7 months ago

mkohlhaas commented 7 months ago

Could we have a function that creates a quaternion from two in-between vectors? Essentially the same function as Quaternion.fromBetweenVectors(u, v) in Quaternion.js.

The operation could also be optimized.

ebassi commented 6 months ago

I was not planning on adding that API, but I would not say no to a pull request…