Guest User

Untitled

a guest
Jun 17th, 2014
11
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/mesh.cpp b/src/mesh.cpp
  2. index 3200d5f..4159715 100644
  3. --- a/src/mesh.cpp
  4. +++ b/src/mesh.cpp
  5. @@ -116,6 +116,7 @@ static scene::IAnimatedMesh* extrudeARGB(u32 twidth, u32 theight, u8 *data)
  6.         buf->append(vertices, 8, indices, 12);
  7.     }
  8.  
  9. +#if 0
  10.     // "Interior"
  11.     // (add faces where a solid pixel is next to a transparent one)
  12.     u8 *solidity = new u8[(twidth+2) * (theight+2)];
  13. @@ -246,6 +247,7 @@ static scene::IAnimatedMesh* extrudeARGB(u32 twidth, u32 theight, u8 *data)
  14.     }
  15.  
  16.     delete[] solidity;
  17. +#endif
  18.  
  19.     // Add to mesh
  20.     scene::SMesh *mesh = new scene::SMesh();
RAW Paste Data