Changeset 141
- Timestamp:
- 07/03/13 19:46:30 (12 years ago)
- Location:
- trunk/nv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/array2d.hh
r132 r141 172 172 inline const_reference operator[] ( const ivec2& c ) const 173 173 { 174 NV_ASSERT( c.x >= 0 && c.y >= 0 && x < m_size.x &&y < m_size.y, "Bad parameters passed to array2d[]" );174 NV_ASSERT( c.x >= 0 && c.y >= 0 && c.x < m_size.x && c.y < m_size.y, "Bad parameters passed to array2d[]" ); 175 175 return m_data[ c.y * m_size.x + c.x ]; 176 176 } -
trunk/nv/interface/mesh.hh
r121 r141 94 94 { 95 95 map::iterator i = m_map.find( attr ); 96 if ( i != m_map.end() && i->second->get_type() != type_to_enum<T> ())96 if ( i != m_map.end() && i->second->get_type() != type_to_enum<T>::type ) 97 97 { 98 98 return ((vertex_attribute<T>*)(i->second));
Note: See TracChangeset
for help on using the changeset viewer.