-
Notifications
You must be signed in to change notification settings - Fork 0
/
GeometryUtility.h
28 lines (20 loc) · 1.2 KB
/
GeometryUtility.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/****************************************************************************************
Copyright (C) 2015 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies
this software in either electronic or hard copy form.
****************************************************************************************/
#ifndef INCLUDE_GEOMETRY_UTILITY_H_
#define INCLUDE_GEOMETRY_UTILITY_H_
#include <fbxsdk.h>
/** Create a pyramid mesh with specific bottom width and height, and attach it to a node.
* /param pScene The scene in which the pyramid mesh is created.
* /param pName The name of the pyramid mesh and the node to which the pyramid is attached.
* /param pBottomWidht The width of the bottom side of the pyramid.
* /param pHeight The height of the pyramid.
* /return Return the node to which the pyramid mesh is attached.
*/
FbxNode * CreatePyramid(FbxScene * pScene, const char * pName, double pBottomWidth, double pHeight);
FbxNode* CreateCube(FbxScene* pScene, const char* pName, FbxDouble3& pLclTranslation);
#endif // INCLUDE_GEOMETRY_UTILITY_H_