gwnavgeneration/raster/rasterpoint.h Source File

rasterpoint.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 
9 
10 
11 #pragma once
12 
13 
14 
17 
18 namespace Kaim
19 {
20 
21 
22 class RasterPoint : public Vec2i
23 {
24 public:
25  RasterPoint() : meter_z(0.0f) {}
26 
27  void Set(const Vec2i& v, KyFloat32 _meter_z)
28  {
29  x = v.x;
30  y = v.y;
31  meter_z = _meter_z;
32  }
33 
34 public:
35  KyFloat32 meter_z;
36 };
37 
38 
39 }
40 
41 
void Set(KyInt32 _x, KyInt32 _y)
Sets x=_x and y=_y.
Definition: vec2i.h:29
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32