cat_layout_3d = new Layout3D(catalogue.get_layout());
layout = new Layout(catalogue);
+ layout->get_clock().set_current_time(12*Time::hour);
layout_3d = new Layout3D(*layout);
+ layout_3d->tick();
if(argc>1)
{
const GL::Vector3 &cpos = view.get_camera().get_position();
GL::Vector4 cray = view.get_camera().unproject(GL::Vector4(pointer.x, pointer.y, 0, 0));
- return view.get_layout().get_layout().pick<Object>(Ray(cpos, Vector(cray)));
+ return view.get_layout().get_layout().pick<Object>(Ray(cpos, cray.slice<3>(0)));
}
void Designer::update_object_icon(Object &obj)