qd-changjing/public/static/Build/CesiumUnminified/Workers/GeometryAttributes-7827a6c2...

1 line
3.0 KiB
Plaintext

{"version":3,"file":"GeometryAttributes-7827a6c2.js","sources":["../../../../Source/Core/GeometryAttributes.js"],"sourcesContent":["import defaultValue from \"./defaultValue.js\";\n\n/**\n * Attributes, which make up a geometry's vertices. Each property in this object corresponds to a\n * {@link GeometryAttribute} containing the attribute's data.\n * <p>\n * Attributes are always stored non-interleaved in a Geometry.\n * </p>\n *\n * @alias GeometryAttributes\n * @constructor\n */\nfunction GeometryAttributes(options) {\n options = defaultValue(options, defaultValue.EMPTY_OBJECT);\n\n /**\n * The 3D position attribute.\n * <p>\n * 64-bit floating-point (for precision). 3 components per attribute.\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.position = options.position;\n\n /**\n * The normal attribute (normalized), which is commonly used for lighting.\n * <p>\n * 32-bit floating-point. 3 components per attribute.\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.normal = options.normal;\n\n /**\n * The 2D texture coordinate attribute.\n * <p>\n * 32-bit floating-point. 2 components per attribute\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.st = options.st;\n\n /**\n * The bitangent attribute (normalized), which is used for tangent-space effects like bump mapping.\n * <p>\n * 32-bit floating-point. 3 components per attribute.\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.bitangent = options.bitangent;\n\n /**\n * The tangent attribute (normalized), which is used for tangent-space effects like bump mapping.\n * <p>\n * 32-bit floating-point. 3 components per attribute.\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.tangent = options.tangent;\n\n /**\n * The color attribute.\n * <p>\n * 8-bit unsigned integer. 4 components per attribute.\n * </p>\n *\n * @type GeometryAttribute\n *\n * @default undefined\n */\n this.color = options.color;\n}\nexport default GeometryAttributes;\n"],"names":["defaultValue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS,kBAAkB,CAAC,OAAO,EAAE;EACrC,EAAE,OAAO,GAAGA,iBAAY,CAAC,OAAO,EAAEA,iBAAY,CAAC,YAAY,CAAC,CAAC;AAC7D;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AACnC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;AAC/B;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;AACvB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;AACrC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACjC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,EAAE,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;EAC7B;;;;;;;;"}