18 #ifndef FCOLLADA_UTILS_H
19 #define FCOLLADA_UTILS_H
21 #include "pre_fcollada_include.h"
31 inline LColor TO_COLOR(FMVector4 v) {
32 return LColor(v.x, v.y, v.z, v.w);
34 #define FROM_VEC3(v) (FMVector3(v[0], v[1], v[2]))
35 #define FROM_VEC4(v) (FMVector4(v[0], v[1], v[2], v[3]))
36 #define FROM_MAT4(v) (FMMatrix44(v.getData()))
37 #define FROM_FSTRING(fs) (string(fs.c_str()))
This is the base class for all three-component vectors and points.
This is the base class for all three-component vectors and points.
This is the base class for all three-component vectors and points.