41 lines
718 B
C++
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;
|
|
}
|