#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>
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 > | |
T | read_term (term_t term) |
template<> | |
glm::mat4 | read_term (term_t term) |
PlTerm construct_term | ( | T & | object | ) |
Definition at line 286 of file swiglm.cpp.
PlTerm construct_term | ( | glm::mat4 & | matrix | ) |
Definition at line 330 of file swiglm.cpp.
PREDICATE | ( | print_matrix | , |
1 | |||
) |
Definition at line 45 of file swiglm.cpp.
PREDICATE | ( | mul_matrix | , |
3 | |||
) |
Definition at line 52 of file swiglm.cpp.
PREDICATE | ( | mul_quaternion | , |
5 | |||
) |
Definition at line 80 of file swiglm.cpp.
PREDICATE | ( | interpolate_quaternion | , |
6 | |||
) |
Definition at line 130 of file swiglm.cpp.
PREDICATE | ( | quaternion_interpolate | , |
6 | |||
) |
Definition at line 173 of file swiglm.cpp.
PREDICATE | ( | convert_to_mat | , |
3 | |||
) |
Definition at line 199 of file swiglm.cpp.
PREDICATE | ( | transform_point | , |
3 | |||
) |
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.
T read_term | ( | term_t | term | ) |
Definition at line 251 of file swiglm.cpp.
glm::mat4 read_term | ( | term_t | term | ) |
Definition at line 265 of file swiglm.cpp.