gwnavruntime/navmesh/navcellblobvisualgeometrybuilder.h Source File

navcellblobvisualgeometrybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
9 
11 
12 namespace Kaim
13 {
14 
15 class NavCellBlob;
16 
17 /* This class of VisualRepresentation defines the way a NavCellBlob should be rendered using triangles. */
18 class NavCellVisualGeometryBuilder : public IVisualGeometryBuilder
19 {
20 public:
21 
22 public:
23  NavCellVisualGeometryBuilder(const NavCellBlob* navCellBlob, KyInt32 cellSizeInPixel, KyFloat32 integerPrecision);
24 
25  virtual void DoBuild();
26 
27 public:
28  const NavCellBlob* m_navCellBlob;
29  KyFloat32 m_integerPrecision;
30  KyInt32 m_cellSizeInPixel;
31  KyInt32 m_cellSizeInCoord;
32 };
33 
34 
35 }
36 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
std::int32_t KyInt32
int32_t
Definition: types.h:24
float KyFloat32
float
Definition: types.h:32