graphene-ext

graphene-ext

Functions

Includes

#include <xrdesktop.h>

Description

Functions

graphene_ext_matrix_equals ()

bool
graphene_ext_matrix_equals (graphene_matrix_t *a,
                            graphene_matrix_t *b);

graphene_ext_matrix_get_rotation_angles ()

void
graphene_ext_matrix_get_rotation_angles
                               (const graphene_matrix_t *m,
                                float *deg_x,
                                float *deg_y,
                                float *deg_z);

graphene_ext_matrix_get_rotation_matrix ()

void
graphene_ext_matrix_get_rotation_matrix
                               (const graphene_matrix_t *m,
                                graphene_matrix_t *res);

graphene_ext_matrix_get_rotation_quaternion ()

void
graphene_ext_matrix_get_rotation_quaternion
                               (const graphene_matrix_t *m,
                                graphene_quaternion_t *res);

graphene_ext_matrix_get_scale ()

void
graphene_ext_matrix_get_scale (const graphene_matrix_t *m,
                               graphene_vec3_t *res);

graphene_ext_matrix_get_translation_point3d ()

void
graphene_ext_matrix_get_translation_point3d
                               (const graphene_matrix_t *m,
                                graphene_point3d_t *res);

graphene_ext_matrix_get_translation_vec3 ()

void
graphene_ext_matrix_get_translation_vec3
                               (const graphene_matrix_t *m,
                                graphene_vec3_t *res);

graphene_ext_matrix_interpolate_simple ()

void
graphene_ext_matrix_interpolate_simple
                               (const graphene_matrix_t *from,
                                const graphene_matrix_t *to,
                                float factor,
                                graphene_matrix_t *result);

graphene_ext_matrix_set_translation_point3d ()

void
graphene_ext_matrix_set_translation_point3d
                               (graphene_matrix_t *m,
                                const graphene_point3d_t *t);

graphene_ext_matrix_set_translation_vec3 ()

void
graphene_ext_matrix_set_translation_vec3
                               (graphene_matrix_t *m,
                                const graphene_vec3_t *t);

graphene_ext_point_scale ()

void
graphene_ext_point_scale (const graphene_point_t *p,
                          float factor,
                          graphene_point_t *res);

graphene_ext_quaternion_print ()

void
graphene_ext_quaternion_print (const graphene_quaternion_t *q);

graphene_ext_quaternion_to_float ()

void
graphene_ext_quaternion_to_float (const graphene_quaternion_t *q,
                                  float *dest);

graphene_ext_ray_get_direction_vec4 ()

void
graphene_ext_ray_get_direction_vec4 (const graphene_ray_t *r,
                                     float w,
                                     graphene_vec4_t *res);

graphene_ext_ray_get_origin_vec3 ()

void
graphene_ext_ray_get_origin_vec3 (const graphene_ray_t *r,
                                  graphene_vec3_t *res);

graphene_ext_ray_get_origin_vec4 ()

void
graphene_ext_ray_get_origin_vec4 (const graphene_ray_t *r,
                                  float w,
                                  graphene_vec4_t *res);

graphene_ext_vec3_print ()

void
graphene_ext_vec3_print (const graphene_vec3_t *v);

graphene_ext_vec4_print ()

void
graphene_ext_vec4_print (const graphene_vec4_t *v);

Types and Values