mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 01:52:02 +00:00
added automatic conversion of Map::Vertex into xyz_location
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#ifndef ZONE_MAP_H
|
||||
#define ZONE_MAP_H
|
||||
|
||||
#include "position.h"
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
@@ -40,6 +41,10 @@ public:
|
||||
{
|
||||
return((v.x == x) && (v.y == y) && (v.z == z));
|
||||
}
|
||||
operator xyz_location() const
|
||||
{
|
||||
return xyz_location(x,y,z);
|
||||
}
|
||||
|
||||
float x;
|
||||
float y;
|
||||
|
||||
Reference in New Issue
Block a user