Changeset 376 for trunk/src/gfx


Ignore:
Timestamp:
05/28/15 10:21:10 (10 years ago)
Author:
epyon
Message:
  • stl/assert.hh, stl/capi.hh, size_t independent
  • GCC 4.8 compatibility
  • using template usage
  • various minor changes
Location:
trunk/src/gfx
Files:
3 edited

Legend:

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

    r374 r376  
    77using namespace nv;
    88
    9 image::image( glm::ivec2 size, size_t depth )
     9image::image( glm::ivec2 size, nv::size_t depth )
    1010        : m_size( size ), m_depth( depth ), m_data( nullptr )
    1111{
     
    2020
    2121
    22 image::image( glm::ivec2 size, size_t depth, const uint8 * data, bool reversed )
     22image::image( glm::ivec2 size, nv::size_t depth, const uint8 * data, bool reversed )
    2323        : m_size( size ), m_depth( depth ), m_data( nullptr )
    2424{
  • trunk/src/gfx/keyframed_mesh.cc

    r367 r376  
    3636}
    3737
    38 size_t keyframed_mesh::get_max_frames() const
     38nv::size_t keyframed_mesh::get_max_frames() const
    3939{
    4040        return m_frame_count;
  • trunk/src/gfx/texture_atlas.cc

    r367 r376  
    1111using namespace nv;
    1212
    13 texture_atlas::texture_atlas( glm::ivec2 size, size_t depth, size_t border /*= 1*/ )
     13texture_atlas::texture_atlas( glm::ivec2 size, nv::size_t depth, nv::size_t border /*= 1*/ )
    1414        : image( size, depth ), m_used( 0 ), m_border( border )
    1515{
     
    8282}
    8383
    84 int texture_atlas::fit( size_t index, glm::ivec2 size )
     84int texture_atlas::fit( nv::size_t index, glm::ivec2 size )
    8585{
    8686        glm::ivec3 node = m_nodes[ index ];
Note: See TracChangeset for help on using the changeset viewer.