示例#1
0
文件: upgrade.cpp 项目: jessie93/Meta
void Upgrade::setvel(const vector3d newvel)
{
    m_vel.sxyz(newvel.x(), newvel.y(), 0.0);
}
示例#2
0
文件: upgrade.cpp 项目: jessie93/Meta
void Upgrade::setpos(const vector3d& newpos)
{
    m_pos.sxyz(newpos.x(), newpos.y(), 0.0);
}