Define a surface type count constant to be able to address a vector

with a surface type.
This commit is contained in:
bubnikv 2017-03-02 16:42:26 +01:00
parent 83a80a9b7d
commit d430767fa7

View File

@ -23,7 +23,10 @@ enum SurfaceType {
// or if sparse infill layers get combined into a single layer.
stInternalVoid,
// Inner/outer perimeters.
stPerimeter
stPerimeter,
// Last surface type, if the SurfaceType is used as an index into a vector.
stLast,
stCount = stLast + 1
};
class Surface