Classes | Functions
swiglm.cpp File Reference
#include <iostream>
#include "SWI-cpp.h"
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
Include dependency graph for swiglm.cpp:

Go to the source code of this file.

Classes

struct  qqq

Functions

template<class T >
PlTerm construct_term (T &object)
template<>
PlTerm construct_term (glm::mat4 &matrix)
 PREDICATE (print_matrix, 1)
 PREDICATE (mul_matrix, 3)
 PREDICATE (mul_quaternion, 5)
 PREDICATE (interpolate_quaternion, 6)
 PREDICATE (quaternion_interpolate, 6)
 PREDICATE (convert_to_mat, 3)
 PREDICATE (transform_point, 3)
void print (glm::mat4 mat)
void print (glm::vec3 vec)
void print (glm::quat quat)
template<class T >
read_term (term_t term)
template<>
glm::mat4 read_term (term_t term)

Function Documentation

template<class T >
PlTerm construct_term ( T &  object)

Definition at line 286 of file swiglm.cpp.

template<>
PlTerm construct_term ( glm::mat4 &  matrix)

Definition at line 330 of file swiglm.cpp.

PREDICATE ( print_matrix  ,
 
)

Definition at line 45 of file swiglm.cpp.

PREDICATE ( mul_matrix  ,
 
)

Definition at line 52 of file swiglm.cpp.

PREDICATE ( mul_quaternion  ,
 
)

Definition at line 80 of file swiglm.cpp.

PREDICATE ( interpolate_quaternion  ,
 
)

Definition at line 130 of file swiglm.cpp.

PREDICATE ( quaternion_interpolate  ,
 
)

Definition at line 173 of file swiglm.cpp.

PREDICATE ( convert_to_mat  ,
 
)

Definition at line 199 of file swiglm.cpp.

PREDICATE ( transform_point  ,
 
)

Definition at line 224 of file swiglm.cpp.

void print ( glm::mat4  mat)

Definition at line 349 of file swiglm.cpp.

void print ( glm::vec3  vec)

Definition at line 361 of file swiglm.cpp.

void print ( glm::quat  quat)

Definition at line 370 of file swiglm.cpp.

template<class T >
T read_term ( term_t  term)

Definition at line 251 of file swiglm.cpp.

template<>
glm::mat4 read_term ( term_t  term)

Definition at line 265 of file swiglm.cpp.



retalis
Author(s): Pouyan Ziafati
autogenerated on Fri Aug 28 2015 12:23:31