diff --git a/SDK/Examples/Source/Slice.cpp b/SDK/Examples/Source/Slice.cpp index 552b833e9..d3125810d 100644 --- a/SDK/Examples/Source/Slice.cpp +++ b/SDK/Examples/Source/Slice.cpp @@ -145,7 +145,7 @@ int main() // Now add 10 slices ... for (int i = 0; i < 10; i++) { - float fTopZ = ((float)i) / 10.0f; + float fTopZ = ((float)(i+1)) / 10.0f; CustomLib3MFBase pSlice; DWORD nPolyIndex, nVertexIndex;