libalmath  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
meshfactory.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Aldebaran. All rights reserved.
3  *
4  */
5 
6 #ifndef LIBALMATH_SCENEGRAPH_MESHFACTORY_H
7 #define LIBALMATH_SCENEGRAPH_MESHFACTORY_H
8 #include <almath/api.h>
9 
10 namespace AL {
11 class Mesh;
12 
13 ALMATH_API
14 void addBoxMesh(float xHalfExtent, float yHalfExtent, float zHalfExtent,
15  Mesh &data);
16 
17 ALMATH_API
18 Mesh createBoxMesh(float xHalfExtent, float yHalfExtent, float zHalfExtent);
19 
20 ALMATH_API
21 void addRoundedBoxMesh(float pHalfExtentX, float pHalfExtentY,
22  float pHalfExtentZ, float pRadius, int pNbVertices,
23  Mesh &data);
24 
25 ALMATH_API
26 Mesh createRoundedBoxMesh(float pHalfExtentX, float pHalfExtentY,
27  float pHalfExtentZ, float pRadius, int pNbVertices);
28 }
29 
30 #endif
ALMATH_API void addBoxMesh(float xHalfExtent, float yHalfExtent, float zHalfExtent, Mesh &data)
ALMATH_API Mesh createBoxMesh(float xHalfExtent, float yHalfExtent, float zHalfExtent)
ALMATH_API void addRoundedBoxMesh(float pHalfExtentX, float pHalfExtentY, float pHalfExtentZ, float pRadius, int pNbVertices, Mesh &data)
ALMATH_API Mesh createRoundedBoxMesh(float pHalfExtentX, float pHalfExtentY, float pHalfExtentZ, float pRadius, int pNbVertices)