mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-18 03:22:27 +00:00
added automatic conversion of Map::Vertex into xyz_location
This commit is contained in:
parent
4094d43c49
commit
5b783e84e9
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user