Panda3D
Loading...
Searching...
No Matches
Macros | Functions
fcollada_utils.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pre_fcollada_include.h"
#include <FCollada.h>

Go to the source code of this file.

Macros

#define FROM_FSTRING(fs)   (std::string(fs.c_str()))
 
#define FROM_MAT4(v)   (FMMatrix44(v.getData()))
 
#define FROM_VEC3(v)   (FMVector3(v[0], v[1], v[2]))
 
#define FROM_VEC4(v)   (FMVector4(v[0], v[1], v[2], v[3]))
 

Functions

LColor TO_COLOR (FMVector4 v)
 
LVecBase3d TO_VEC3 (FMVector3 v)
 
LVecBase4d TO_VEC4 (FMVector4 v)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
rdb
Date
2008-12-22

Definition in file fcollada_utils.h.

Macro Definition Documentation

◆ FROM_FSTRING

#define FROM_FSTRING ( fs)    (std::string(fs.c_str()))

Definition at line 36 of file fcollada_utils.h.

◆ FROM_MAT4

#define FROM_MAT4 ( v)    (FMMatrix44(v.getData()))

Definition at line 35 of file fcollada_utils.h.

◆ FROM_VEC3

#define FROM_VEC3 ( v)    (FMVector3(v[0], v[1], v[2]))

Definition at line 33 of file fcollada_utils.h.

◆ FROM_VEC4

#define FROM_VEC4 ( v)    (FMVector4(v[0], v[1], v[2], v[3]))

Definition at line 34 of file fcollada_utils.h.

Function Documentation

◆ TO_COLOR()

LColor TO_COLOR ( FMVector4 v)
inline

Definition at line 30 of file fcollada_utils.h.

◆ TO_VEC3()

LVecBase3d TO_VEC3 ( FMVector3 v)
inline

Definition at line 24 of file fcollada_utils.h.

◆ TO_VEC4()

LVecBase4d TO_VEC4 ( FMVector4 v)
inline

Definition at line 27 of file fcollada_utils.h.