1 //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef UUID_0595DEC2C72D11E6B6B77C2A07624D53
7 #define UUID_0595DEC2C72D11E6B6B77C2A07624D53
9 #include <boost/qvm/inline.hpp>
10 #include <boost/qvm/assert.hpp>
21 template <class QuatType,class ScalarType>
25 typedef QuatType quat_type;
26 typedef ScalarType scalar_type;
30 BOOST_QVM_INLINE_CRITICAL
32 read_element( quat_type const & x )
34 return quat_traits<quat_type>::template write_element<I>(const_cast<quat_type &>(x));