+ vg_info( "BBX: %.3f %.3f %.3f -> %.3f %.3f %.3f\n",
+ world.geo.bbx[0][0], world.geo.bbx[0][1], world.geo.bbx[0][2],
+ world.geo.bbx[1][0], world.geo.bbx[1][1], world.geo.bbx[1][2] );
+
+ /*
+ * TODO: Parametric marker import
+ */
+ v3_copy( model_marker_get( mworld, "start" )->co, world.tutorial );
+
+ /*
+ * Initialize gates
+ */
+
+ world.gate_count = 0;
+ for( int i=0; i<mworld->marker_count; i++ )
+ {
+ model_marker *ga = model_get_marker( mworld, i );
+
+ if( ga->classtype == k_classtype_gate )
+ {
+ struct classtype_gate *data = get_entdata_raw( mworld, ga );
+
+ if( data->target )
+ {
+ model_marker *gb = model_get_marker( mworld, data->target );
+
+ teleport_gate *gate = &world.gates[ world.gate_count ++ ];
+
+ v3_copy( ga->co, gate->co[0] );
+ v3_copy( gb->co, gate->co[1] );
+ v4_copy( ga->q, gate->q[0] );
+ v4_copy( gb->q, gate->q[1] );
+ v2_copy( ga->s, gate->dims );