Changeset 512 for trunk/src/engine
- Timestamp:
- 08/03/16 20:55:13 (9 years ago)
- Location:
- trunk/src/engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/default_resource_manager.cc
r510 r512 27 27 m_lua = lua; 28 28 29 int below_already_registered; 29 30 m_lua->register_enum( "RND_LINEAR", static_cast<int>( random_dist::LINEAR ) ); 30 31 m_lua->register_enum( "RND_GAUSSIAN", static_cast<int>( random_dist::GAUSSIAN ) ); -
trunk/src/engine/model_manager.cc
r510 r512 8 8 9 9 #include "nv/lua/lua_math.hh" 10 #include "nv/lua/lua_flags.hh" 10 11 11 12 using namespace nv; … … 16 17 17 18 model* gm = new model; 19 gm->flags = table.get< flags<32> >( "flags" ); 18 20 gm->attach = table.get_string_hash_64( "attach" ); 19 21 gm->root.set_position( table.get<vec3>( "root_position", vec3() ) );
Note: See TracChangeset
for help on using the changeset viewer.