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