Assimp  v4.1. (December 2018)
X3DImporter.cpp File Reference

X3D-format files importer for Assimp: main algorithm implementation. More...

Classes

struct  Assimp::WordIterator
 

Namespaces

 Assimp
 MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py.
 

Macros

#define MESH_RectParallelepiped_CREATE_VERT
 

Variables

FIVocabulary Assimp::X3D_vocabulary_3_2
 
FIVocabulary Assimp::X3D_vocabulary_3_3
 

Detailed Description

X3D-format files importer for Assimp: main algorithm implementation.

Date
2015-2016
Author
smal..nosp@m.root.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Macro Definition Documentation

◆ MESH_RectParallelepiped_CREATE_VERT

#define MESH_RectParallelepiped_CREATE_VERT
Value:
aiVector3D vert_set[8]; \
float x1, x2, y1, y2, z1, z2, hs; \
\
hs = pSize.x / 2, x1 = -hs, x2 = hs; \
hs = pSize.y / 2, y1 = -hs, y2 = hs; \
hs = pSize.z / 2, z1 = -hs, z2 = hs; \
vert_set[0].Set(x2, y1, z2); \
vert_set[1].Set(x2, y2, z2); \
vert_set[2].Set(x2, y2, z1); \
vert_set[3].Set(x2, y1, z1); \
vert_set[4].Set(x1, y1, z2); \
vert_set[5].Set(x1, y2, z2); \
vert_set[6].Set(x1, y2, z1); \
vert_set[7].Set(x1, y1, z1)
TReal x
Definition: vector3.h:127