Changeset 527 for trunk/src/engine
- Timestamp:
- 11/03/16 00:51:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/model_manager.cc
r526 r527 85 85 } 86 86 87 if ( table.has_field( "phx_hextents" ) ) 88 node->phx_hextents = table.get<vec3>( "phx_hextents", vec3() ); 89 if ( table.has_field( "phx_offset" ) ) 90 node->phx_offset = table.get<vec3>( "phx_offset", vec3() ); 91 if ( table.has_field( "phx_mass" ) ) 92 node->phx_mass = table.get<float>( "phx_mass", 0.0f); 93 if ( table.has_field( "phx_mass" ) ) 94 node->phx_shape = nv::phx_shape( table.get<int>( "phx_shape", 0 ) ); 95 87 96 if ( table.has_field( "local_position" ) ) 88 97 node->local.set_position( table.get<vec3>( "local_position", vec3() ) );
Note: See TracChangeset
for help on using the changeset viewer.