Sha256: c9096f57f044346a2965d079b88afe5a1f5814837fca2e3d1871c1a487c9f4ef

Contents?: true

Size: 827 Bytes

Versions: 6

Compression:

Stored size: 827 Bytes

Contents

/*global define*/
define(['Core/PolygonOutlineGeometry', 'Core/Ellipsoid', 'Scene/PrimitivePipeline', 'Workers/createTaskProcessorWorker'], function(
        PolygonOutlineGeometry,
        Ellipsoid,
        PrimitivePipeline,
        createTaskProcessorWorker) {
    "use strict";

    function createPolygonOutlineGeometry(parameters, transferableObjects) {
        var polygonGeometry = parameters.geometry;
        polygonGeometry._ellipsoid = Ellipsoid.clone(polygonGeometry._ellipsoid);

        var geometry = PolygonOutlineGeometry.createGeometry(polygonGeometry);
        PrimitivePipeline.transferGeometry(geometry, transferableObjects);

        return {
            geometry : geometry,
            index : parameters.index
        };
    }

    return createTaskProcessorWorker(createPolygonOutlineGeometry);
});

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cesium-0.24.0 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js
cesium-0.23.0 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js
cesium-0.22.0 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js
cesium-0.21.1 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js
cesium-0.21 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js
cesium-0.20.0 app/assets/javascripts/Workers/createPolygonOutlineGeometry.js