Changeset 546 for trunk/src/engine/model_manager.cc
- Timestamp:
- 02/09/17 17:50:17 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/model_manager.cc
r544 r546 20 20 gm->flags = table["flags"].as< flags<32> >(); 21 21 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) ) ) );24 22 25 23 resource< mesh_data > def_data;
Note: See TracChangeset
for help on using the changeset viewer.