From 74978b6711fccbaf0cebe198b0a4dfb753c6f35c Mon Sep 17 00:00:00 2001 From: John Turner <7strbass@gmail.com> Date: Tue, 21 Feb 2023 10:24:15 -0500 Subject: [PATCH] --remove dupe defs --- .../attributes/AttributesEnumMaps.cpp | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/esp/metadata/attributes/AttributesEnumMaps.cpp b/src/esp/metadata/attributes/AttributesEnumMaps.cpp index f3580607e7..fb1765c9c8 100644 --- a/src/esp/metadata/attributes/AttributesEnumMaps.cpp +++ b/src/esp/metadata/attributes/AttributesEnumMaps.cpp @@ -64,12 +64,6 @@ std::string getLightTypeName(esp::gfx::LightType lightTypeEnum) { } return "point"; } - -const std::map - LightPositionNamesMap = {{"global", esp::gfx::LightPositionModel::Global}, - {"camera", esp::gfx::LightPositionModel::Camera}, - {"object", esp::gfx::LightPositionModel::Object}}; - std::string getLightPositionModelName( esp::gfx::LightPositionModel lightPositionEnum) { // this verifies that enum value being checked is supported by string-keyed @@ -188,14 +182,6 @@ std::string getAORenderModeName(ArticulatedObjectRenderMode aoRenderMode) { return "unspecified"; } // getAORenderModeName -const std::map ShaderTypeNamesMap = { - {"unspecified", ObjectInstanceShaderType::Unspecified}, - {"material", ObjectInstanceShaderType::Material}, - {"flat", ObjectInstanceShaderType::Flat}, - {"phong", ObjectInstanceShaderType::Phong}, - {"pbr", ObjectInstanceShaderType::PBR}, -}; - std::string getShaderTypeName(ObjectInstanceShaderType shaderTypeVal) { // this verifies that enum value being checked is supported by string-keyed // map. The values below should be the minimum and maximum enums supported by @@ -250,13 +236,6 @@ std::string getTranslationOriginName( return "default"; } // getTranslationOriginName -// All keys must be lowercase -const std::map MotionTypeNamesMap = { - {"static", esp::physics::MotionType::STATIC}, - {"kinematic", esp::physics::MotionType::KINEMATIC}, - {"dynamic", esp::physics::MotionType::DYNAMIC}, -}; - std::string getMotionTypeName(esp::physics::MotionType motionTypeEnum) { // this verifies that enum value being checked is supported by string-keyed // map. The values below should be the minimum and maximum enums supported by