Define a surface type count constant to be able to address a vector
with a surface type.
This commit is contained in:
parent
83a80a9b7d
commit
d430767fa7
@ -23,7 +23,10 @@ enum SurfaceType {
|
|||||||
// or if sparse infill layers get combined into a single layer.
|
// or if sparse infill layers get combined into a single layer.
|
||||||
stInternalVoid,
|
stInternalVoid,
|
||||||
// Inner/outer perimeters.
|
// 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
|
class Surface
|
||||||
|
Loading…
Reference in New Issue
Block a user