0aebcb72088f60e874d5cac37f1ffe5d387112d6b9de7fa58260ad68877a2cd9.json 3.8 KB

1
  1. {"ast":null,"code":"/**\n * Determines how values from the PhysicsMaterial are combined when\n * two objects are in contact. When each PhysicsMaterial specifies\n * a different combine mode for some property, the combine mode which\n * is used will be selected based on their order in this enum - i.e.\n * a value later in this list will be preferentially used.\n */\nexport var PhysicsMaterialCombineMode;\n(function (PhysicsMaterialCombineMode) {\n /**\n * The final value will be the geometric mean of the two values:\n * sqrt( valueA * valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"GEOMETRIC_MEAN\"] = 0] = \"GEOMETRIC_MEAN\";\n /**\n * The final value will be the smaller of the two:\n * min( valueA , valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MINIMUM\"] = 1] = \"MINIMUM\";\n /* The final value will be the larger of the two:\n * max( valueA , valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MAXIMUM\"] = 2] = \"MAXIMUM\";\n /* The final value will be the arithmetic mean of the two values:\n * (valueA + valueB) / 2\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"ARITHMETIC_MEAN\"] = 3] = \"ARITHMETIC_MEAN\";\n /**\n * The final value will be the product of the two values:\n * valueA * valueB\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MULTIPLY\"] = 4] = \"MULTIPLY\";\n})(PhysicsMaterialCombineMode || (PhysicsMaterialCombineMode = {}));","map":{"version":3,"names":["PhysicsMaterialCombineMode"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Physics/v2/physicsMaterial.js"],"sourcesContent":["/**\n * Determines how values from the PhysicsMaterial are combined when\n * two objects are in contact. When each PhysicsMaterial specifies\n * a different combine mode for some property, the combine mode which\n * is used will be selected based on their order in this enum - i.e.\n * a value later in this list will be preferentially used.\n */\nexport var PhysicsMaterialCombineMode;\n(function (PhysicsMaterialCombineMode) {\n /**\n * The final value will be the geometric mean of the two values:\n * sqrt( valueA * valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"GEOMETRIC_MEAN\"] = 0] = \"GEOMETRIC_MEAN\";\n /**\n * The final value will be the smaller of the two:\n * min( valueA , valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MINIMUM\"] = 1] = \"MINIMUM\";\n /* The final value will be the larger of the two:\n * max( valueA , valueB )\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MAXIMUM\"] = 2] = \"MAXIMUM\";\n /* The final value will be the arithmetic mean of the two values:\n * (valueA + valueB) / 2\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"ARITHMETIC_MEAN\"] = 3] = \"ARITHMETIC_MEAN\";\n /**\n * The final value will be the product of the two values:\n * valueA * valueB\n */\n PhysicsMaterialCombineMode[PhysicsMaterialCombineMode[\"MULTIPLY\"] = 4] = \"MULTIPLY\";\n})(PhysicsMaterialCombineMode || (PhysicsMaterialCombineMode = {}));\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAIA,0BAA0B;AACrC,CAAC,UAAUA,0BAA0B,EAAE;EACnC;AACJ;AACA;AACA;EACIA,0BAA0B,CAACA,0BAA0B,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,GAAG,gBAAgB;EAC/F;AACJ;AACA;AACA;EACIA,0BAA0B,CAACA,0BAA0B,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;EACjF;AACJ;AACA;EACIA,0BAA0B,CAACA,0BAA0B,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;EACjF;AACJ;AACA;EACIA,0BAA0B,CAACA,0BAA0B,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,GAAG,iBAAiB;EACjG;AACJ;AACA;AACA;EACIA,0BAA0B,CAACA,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU;AACvF,CAAC,EAAEA,0BAA0B,KAAKA,0BAA0B,GAAG,CAAC,CAAC,CAAC,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}