Done !
| Server IP : 194.181.228.65 / Your IP : 216.73.217.86 Web Server : LiteSpeed System : Linux wn13.webd.pl 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64 User : prusit ( 133039) PHP Version : 5.6.40 Disable Function : exec, system, shell_exec, passthru, proc_open, proc_close, popen MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/Imath/ |
Upload File : |
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
//
// clang-format off
#ifndef _PyImathQuatOperators_h_
#define _PyImathQuatOperators_h_
#include <ImathQuat.h>
namespace PyImath {
template <class T>
struct op_quatDot {
static inline typename T::BaseType apply (const T &self, const T &qB)
{ return self.euclideanInnerProduct (qB); }
};
template <class T>
struct op_quatNormalize {
static inline void apply (T &self)
{ self.normalize(); }
};
template <class T>
struct op_quatNormalized {
static inline T apply (const T &self)
{ return self.normalized(); }
};
template <class T>
struct op_quatSlerp {
static inline T apply (const T &self, const T &qB, const typename T::BaseType t)
{ return Imath::slerpShortestArc (self, qB, t); }
};
} // namespace PyImath
#endif // _PyImathQuatOperators_h_