| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/include/boost/qvm/detail/ |
Upload File : |
//Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_86A42DA4385511E7822024B881262D2E
#define BOOST_QVM_86A42DA4385511E7822024B881262D2E
#include <boost/qvm/inline.hpp>
#include <boost/qvm/enable_if.hpp>
#include <boost/qvm/quat_traits.hpp>
namespace
boost
{
namespace
qvm
{
template <class A,class B>
BOOST_QVM_INLINE_OPERATIONS
typename enable_if_c<
is_quat<A>::value && is_quat<B>::value,
A &>::type
assign( A & a, B const & b )
{
quat_traits<A>::template write_element<0>(a) = quat_traits<B>::template read_element<0>(b);
quat_traits<A>::template write_element<1>(a) = quat_traits<B>::template read_element<1>(b);
quat_traits<A>::template write_element<2>(a) = quat_traits<B>::template read_element<2>(b);
quat_traits<A>::template write_element<3>(a) = quat_traits<B>::template read_element<3>(b);
return a;
}
}
}
#endif