game2006/server/gameserver/bornpoint.cc
aozhiwei 609dc6ed88 1
2023-05-19 16:14:28 +08:00

41 lines
718 B
C++

#include "precompile.h"
#include "bornpoint.h"
#include "room.h"
#include "mt/Map.h"
Position BornPoint::RandPoint(Room* room) const
{
Position pos;
if (wo_meta) {
pos.FromGlmVec3(wo_meta->pos);
} else {
pos.SetX(5120.000000000000);
pos.SetY(6.250846862793);
pos.SetZ(5120.000000000000);
}
if (room->IsSandTableRoom()) {
}
return pos;
}
int BornPoint::GetNum()
{
return 4;
}
Position BornPoint::GetSrcPoint(Room* room) const
{
Position pos;
if (wo_meta) {
pos.FromGlmVec3(wo_meta->pos);
} else {
pos.SetX(5120.000000000000);
pos.SetY(6.250846862793);
pos.SetZ(5120.000000000000);
}
return pos;
}