{"ast":null,"code":"import { CastingResult } from \"./castingResult.js\";\n/**\n * Class representing a contact point produced in a shape cast\n */\nexport class ShapeCastResult extends CastingResult {\n constructor() {\n super(...arguments);\n this._hitFraction = 0;\n }\n /**\n * Gets the hit fraction along the casting ray\n */\n get hitFraction() {\n return this._hitFraction;\n }\n /**\n * Sets the hit fraction along the casting ray\n * @param fraction\n */\n setHitFraction(fraction) {\n this._hitFraction = fraction;\n }\n}","map":{"version":3,"names":["CastingResult","ShapeCastResult","constructor","arguments","_hitFraction","hitFraction","setHitFraction","fraction"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Physics/shapeCastResult.js"],"sourcesContent":["import { CastingResult } from \"./castingResult.js\";\n/**\n * Class representing a contact point produced in a shape cast\n */\nexport class ShapeCastResult extends CastingResult {\n constructor() {\n super(...arguments);\n this._hitFraction = 0;\n }\n /**\n * Gets the hit fraction along the casting ray\n */\n get hitFraction() {\n return this._hitFraction;\n }\n /**\n * Sets the hit fraction along the casting ray\n * @param fraction\n */\n setHitFraction(fraction) {\n this._hitFraction = fraction;\n }\n}\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,oBAAoB;AAClD;AACA;AACA;AACA,OAAO,MAAMC,eAAe,SAASD,aAAa,CAAC;EAC/CE,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,GAAGC,SAAS,CAAC;IACnB,IAAI,CAACC,YAAY,GAAG,CAAC;EACzB;EACA;AACJ;AACA;EACI,IAAIC,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACD,YAAY;EAC5B;EACA;AACJ;AACA;AACA;EACIE,cAAcA,CAACC,QAAQ,EAAE;IACrB,IAAI,CAACH,YAAY,GAAGG,QAAQ;EAChC;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}