Top | ![]() |
![]() |
![]() |
![]() |
Functions
#define | NC_TRIVEC_SCALE() |
#define | NC_TRIVEC_SET_0() |
#define | NC_TRIVEC_MEMCPY() |
#define | NC_TRIVEC_NORM() |
#define | NC_TRIVEC_NORMALIZE() |
#define | NC_TRIVEC_DOT() |
#define | NC_QUATERNION_SET_I() |
#define | NC_QUATERNION_SET_0() |
#define | NC_QUATERNION_NORM() |
#define | NC_QUATERNION_MEMCPY() |
NcmQ * | ncm_quaternion_new () |
NcmQ * | ncm_quaternion_new_from_vector () |
NcmQ * | ncm_quaternion_new_from_data () |
void | ncm_quaternion_set_from_data () |
void | ncm_quaternion_set_random () |
void | ncm_quaternion_free () |
void | ncm_quaternion_normalize () |
void | ncm_quaternion_conjugate () |
void | ncm_quaternion_mul () |
void | ncm_quaternion_lmul () |
void | ncm_quaternion_rmul () |
void | ncm_quaternion_conjugate_u_mul () |
void | ncm_quaternion_conjugate_q_mul () |
void | ncm_quaternion_rotate () |
void | ncm_quaternion_inv_rotate () |
Types and Values
struct | NcmTriVector |
#define | NC_TRIVEC_NEW |
struct | NcmQ |
#define | NC_QUATERNION_NEW |
#define | NC_QUATERNION_NEW_I |
#define | NCM_QUATERNION_RNG_NAME |
Functions
NC_TRIVEC_NORM()
#define NC_TRIVEC_NORM(a) sqrt((a).c[0]*(a).c[0] + (a).c[1]*(a).c[1] + (a).c[2]*(a).c[2])
NC_TRIVEC_DOT()
#define NC_TRIVEC_DOT(a, b) ((a).c[0]*(b).c[0] + (a).c[1]*(b).c[1] + (a).c[2]*(b).c[2])
ncm_quaternion_new_from_data ()
NcmQ * ncm_quaternion_new_from_data (gdouble x
,gdouble y
,gdouble z
,gdouble theta
);
FIXME
ncm_quaternion_set_from_data ()
void ncm_quaternion_set_from_data (NcmQ *q
,gdouble x
,gdouble y
,gdouble z
,gdouble theta
);
FIXME
ncm_quaternion_conjugate_u_mul ()
void ncm_quaternion_conjugate_u_mul (NcmQ *q
,NcmQ *u
,NcmQ *res
);
FIXME
ncm_quaternion_conjugate_q_mul ()
void ncm_quaternion_conjugate_q_mul (NcmQ *q
,NcmQ *u
,NcmQ *res
);
FIXME