libigl v2.5.0
Loading...
Searching...
No Matches
canonical_quaternions.h File Reference
#include "igl_inline.h"
#include "canonical_quaternions.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Macros

#define SQRT_2_OVER_2   0.707106781f
#define SQRT_2_OVER_2   0.70710678118654757
#define NUM_CANONICAL_VIEW_QUAT   24

Functions

template<typename Q_type>
Q_type igl::CANONICAL_VIEW_QUAT (int i, int j)
template<>
float igl::CANONICAL_VIEW_QUAT< float > (int i, int j)
template<>
double igl::CANONICAL_VIEW_QUAT< double > (int i, int j)

Variables

const float igl::IDENTITY_QUAT_F [4] = {0,0,0,1}
const float igl::XY_PLANE_QUAT_F [4] = {0,0,0,1}
const float igl::XZ_PLANE_QUAT_F [4] = {-SQRT_2_OVER_2,0,0,SQRT_2_OVER_2}
const float igl::YZ_PLANE_QUAT_F [4] = {-0.5,-0.5,-0.5,0.5}
const float igl::CANONICAL_VIEW_QUAT_F [][4]
const double igl::IDENTITY_QUAT_D [4] = {0,0,0,1}
const double igl::XY_PLANE_QUAT_D [4] = {0,0,0,1}
const double igl::XZ_PLANE_QUAT_D [4] = {-SQRT_2_OVER_2,0,0,SQRT_2_OVER_2}
const double igl::YZ_PLANE_QUAT_D [4] = {-0.5,-0.5,-0.5,0.5}
const double igl::CANONICAL_VIEW_QUAT_D [][4]

Macro Definition Documentation

◆ SQRT_2_OVER_2 [1/2]

#define SQRT_2_OVER_2   0.707106781f

◆ SQRT_2_OVER_2 [2/2]

#define SQRT_2_OVER_2   0.70710678118654757

◆ NUM_CANONICAL_VIEW_QUAT

#define NUM_CANONICAL_VIEW_QUAT   24