tools/navgenproj/ProjSeedPoint.h Source File

ProjSeedPoint.h
Go to the documentation of this file.
1 /*
2 * Copyright 2017 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 #pragma once
8 
9 #include "navgenproj/ProjTypes.h"
10 
11 namespace Kaim
12 {
13 
14 // TODO it's just a Vec3f, we don't need a wrapper class
15 class ProjSeedPoint
16 {
17 public:
18  ProjSeedPoint() {}
19  ProjSeedPoint(float x, float y, float z) { m_pos.Set(x, y, z); }
20  ProjSeedPoint(const Vec3f& seedPoint) { m_pos = seedPoint; }
21  Vec3f m_pos;
22 };
23 
24 inline bool Read(XmlNode node, ProjSeedPoint& value) { return Read(node, value.m_pos); }
25 inline void Write(XmlNode node, const ProjSeedPoint& value) { Write(node, value.m_pos); }
26 
27 }
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17