#ifndef MESH_STATE_H #define MESH_STATE_H #include #include #include namespace MeshBased { struct MyState { NM::NavMeshLocation loc; Heading heading; /** ctor */ MyState() : loc(), heading(0) { ; } /** ctor */ MyState(NM::NavMeshLocation loc, Heading h) : loc(loc), heading(h) { ; } // MyState& operator += (const MyState& o) { // position += o.position; // return *this; // } // MyState& operator /= (const float val) { // position /= val; // return *this; // } // MyState operator * (const float val) const { // MyState copy = *this; // copy.position = copy.position * val; // return copy; // } }; } #endif // MESH_STATE_H