return BeamGateType::instance();
}
-void BeamGate::set_address(unsigned a)
-{
- address = a;
-}
-
void BeamGate::set_position(const Vector &p)
{
position = p;
if(track)
{
- TrackPoint tp = track->get_point(track.entry(), offset);
- position = tp.pos;
- rotation = tp.dir;
+ OrientedPoint p = track.point();
+ position = p.position;
+ rotation = p.rotation;
+ tilt = p.tilt;
}
}