Changeset 367 for trunk/src/gfx
- Timestamp:
- 05/16/15 23:12:22 (10 years ago)
- Location:
- trunk/src/gfx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/keyframed_mesh.cc
r319 r367 5 5 #include "nv/gfx/keyframed_mesh.hh" 6 6 7 #include <glm/gtc/matrix_access.hpp>8 #include <glm/gtx/matrix_interpolation.hpp>9 7 #include "nv/interface/context.hh" 10 8 #include "nv/interface/device.hh" 11 12 13 9 #include "nv/core/logging.hh" 14 10 -
trunk/src/gfx/skeletal_mesh.cc
r323 r367 5 5 #include "nv/gfx/skeletal_mesh.hh" 6 6 7 #include <glm/gtc/matrix_access.hpp>8 #include <glm/gtx/matrix_interpolation.hpp>9 7 #include "nv/interface/context.hh" 10 8 #include "nv/interface/device.hh" 11 12 9 13 10 nv::skeletal_mesh_cpu::skeletal_mesh_cpu( context* a_context, const mesh_data* a_mesh_data, const mesh_nodes_data* bones ) -
trunk/src/gfx/texture_atlas.cc
r319 r367 8 8 9 9 #include "nv/core/logging.hh" 10 #include <iostream>11 10 12 11 using namespace nv; -
trunk/src/gfx/texture_font.cc
r365 r367 6 6 #include "nv/gfx/texture_font.hh" 7 7 8 #include <sstream>9 #include <stdexcept>10 8 #include "nv/lib/freetype2.hh" 11 9 #include "nv/core/logging.hh" … … 126 124 if ( error ) 127 125 { 128 std::stringstream error_msg; 129 error_msg << "FT_Error while loading glyphs, error: " 130 << error << " code: " << c; 131 NV_THROW( std::runtime_error, error_msg.str().c_str() ); 126 NV_LOG_ERROR( "FT_Error while loading glyphs, error: ", error, " code: ", c ); 127 NV_THROW( std::runtime_error, "FT_Error while loading glyphs" ); 132 128 } 133 129 … … 144 140 if ( r.pos.x < 0 ) 145 141 { 146 std::stringstream error_msg; 147 error_msg << "Atlas full while loading glyphs, " 148 << "r.pos.x: " << r.pos.x << " code: " 149 << c; 150 NV_THROW( std::runtime_error, error_msg.str().c_str() ); 142 NV_LOG_ERROR( "Atlas full while loading glyphs, r.pos.x: ", r.pos.x, " code: ", c ); 143 NV_THROW( std::runtime_error, "Atlas full while loading glyphs" ); 151 144 } 152 145 if (depth == 4)
Note: See TracChangeset
for help on using the changeset viewer.