gwnavruntime/navmesh/navcellblobvisualgeometrybuilder.h Source File

navcellblobvisualgeometrybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 // Primary contact: JUBA - secondary contact: NOBODY
9 #ifndef Navigation_NavCellVisualGeometryBuilder_H
10 #define Navigation_NavCellVisualGeometryBuilder_H
11 
13 
14 namespace Kaim
15 {
16 
17 class NavCellBlob;
18 
19 /* This class of VisualRepresentation defines the way a NavCellBlob should be rendered using triangles. */
20 class NavCellVisualGeometryBuilder : public IVisualGeometryBuilder
21 {
22 public :
23 
24 public:
25  NavCellVisualGeometryBuilder(const NavCellBlob* navCellBlob, KyInt32 cellSizeInPixel, KyFloat32 integerPrecision);
26 
27  virtual void DoBuild();
28 
29 public:
30  const NavCellBlob* m_navCellBlob;
31  KyFloat32 m_integerPrecision;
32  KyInt32 m_cellSizeInPixel;
33  KyInt32 m_cellSizeInCoord;
34 };
35 
36 
37 }
38 
39 #endif // #Navigation_NavCellVisualGeometryBuilder_H
int KyInt32
Type used internally to represent a 32-bit integer.
Definition: types.h:35
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43