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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment