Skip to content

Commit cdbf89f

Browse files
Fix SDK-example: slices
1 parent 8e451c0 commit cdbf89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDK/Examples/Source/Slice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ int main()
145145

146146
// Now add 10 slices ...
147147
for (int i = 0; i < 10; i++) {
148-
float fTopZ = ((float)i) / 10.0f;
148+
float fTopZ = ((float)(i+1)) / 10.0f;
149149
CustomLib3MFBase pSlice;
150150
DWORD nPolyIndex, nVertexIndex;
151151

0 commit comments

Comments
 (0)