Skip to content
Snippets Groups Projects
Commit 4197cb07 authored by Henry Weller's avatar Henry Weller
Browse files

quaternion: Added static member function to return a unit quaternion constructed from a vector

    //- Return the unit quaternion (versor) from the given vector
    //  (w = sqrt(1 - |sqr(v)|))
    static inline quaternion unit(const vector& v);
parent 4a7f5ed1
Branches
Tags
1 merge request!33Merge foundation
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment