Move MetalSupportTypeCount to Supports.cpp

This commit is contained in:
Gymnasiast 2023-10-25 19:39:07 +02:00
parent 3b074be920
commit d88abab74b
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 1 additions and 1 deletions

View File

@ -1540,6 +1540,7 @@ bool PathBSupportsPaintSetup(
return false; // AND
}
constexpr uint8_t MetalSupportTypeCount = 13;
constexpr MetalSupportType RotatedMetalSupports[MetalSupportTypeCount][NumOrthogonalDirections] = {
{ MetalSupportType::Tubes, MetalSupportType::Tubes, MetalSupportType::Tubes, MetalSupportType::Tubes },
{ MetalSupportType::Fork, MetalSupportType::ForkAlt, MetalSupportType::Fork, MetalSupportType::ForkAlt },

View File

@ -93,7 +93,6 @@ enum class MetalSupportType : uint8_t
*/
BoxedCoated,
};
constexpr uint8_t MetalSupportTypeCount = 13;
/**
* Tiles are rendered at a 45 degree angle, with the corners on the top, bottom, left and right.