Example #1
0
void Upgrade::setvel(const vector3d newvel)
{
    m_vel.sxyz(newvel.x(), newvel.y(), 0.0);
}
Example #2
0
void Upgrade::setpos(const vector3d& newpos)
{
    m_pos.sxyz(newpos.x(), newpos.y(), 0.0);
}