Ignore:
Timestamp:
07/05/14 00:21:55 (11 years ago)
Author:
epyon
Message:
  • scene_node setters
  • animated meshes don't need context, just the device
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/skeletal_mesh.cc

    r261 r275  
    1111
    1212
    13 nv::skeletal_mesh::skeletal_mesh( context* a_context, md5_mesh_data* a_mesh_data )
     13nv::skeletal_mesh::skeletal_mesh( device* a_device, md5_mesh_data* a_mesh_data )
    1414        : animated_mesh()
    1515        , m_mesh_data( nullptr )
     
    1818{
    1919        m_mesh_data = a_mesh_data->spawn();
    20         m_va        = a_context->get_device()->create_vertex_array( a_mesh_data, nv::STREAM_DRAW );
     20        m_va        = a_device->create_vertex_array( a_mesh_data, nv::STREAM_DRAW );
    2121}
    2222
Note: See TracChangeset for help on using the changeset viewer.