* Fix FTBBox::SetDepth() behaviour with negative depth values (as done in the FTExtrudeGlyph class).
diff --git a/src/FTGL/FTBBox.h b/src/FTGL/FTBBox.h
index 18c1d52..47a2722 100644
--- a/src/FTGL/FTBBox.h
+++ b/src/FTGL/FTBBox.h
@@ -142,7 +142,10 @@ class FTGL_EXPORT FTBBox
void SetDepth(float depth)
{
- upper.Z(lower.Z() + depth);
+ if(depth > 0)
+ upper.Z(lower.Z() + depth);
+ else
+ lower.Z(upper.Z() + depth);
}