Changeset 546


Ignore:
Timestamp:
02/09/17 17:50:17 (8 years ago)
Author:
epyon
Message:
  • removal of root transformation
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/engine/model_manager.hh

    r544 r546  
    103103                // TODO: change to resource
    104104                string32                       ragdoll_id;
    105                 transform                      root;
    106105                shash64                        attach;
    107106                flags< 32 >                    flags;
     
    179178                        if ( !m ) return result;
    180179                        result.attach = m->attach;
    181                         result.local = m->root;
    182180                        result.flags = m->flags;
    183181                        result.count = 0;
  • trunk/src/engine/model_manager.cc

    r544 r546  
    2020        gm->flags  = table["flags"].as< flags<32> >();
    2121        gm->attach = table["attach"].get_shash64();
    22         gm->root.set_position( table["root_position"].as<vec3>() );
    23         gm->root.set_orientation( vec4_to_quat( table["root_orientation"].as<vec4>( vec4(0.0f,0.0f,0.0f,1.0f) ) ) );
    2422       
    2523        resource< mesh_data > def_data;
Note: See TracChangeset for help on using the changeset viewer.