Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : grupo692 ( 1004)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /usr/include/Imath/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/Imath/PyImathQuatOperators.h
//
// 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_

Al-HUWAITI Shell