Sha256: 6fac99477f5f9926f51f7cb903dd2ac2207741ff421381c9ab2280e2c1ade54f

Contents?: true

Size: 943 Bytes

Versions: 6

Compression:

Stored size: 943 Bytes

Contents

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

    function createEllipseOutlineGeometry(parameters, transferableObjects) {
        var ellipseGeometry = parameters.geometry;
        ellipseGeometry._center = Cartesian3.clone(ellipseGeometry._center);
        ellipseGeometry._ellipsoid = Ellipsoid.clone(ellipseGeometry._ellipsoid);

        var geometry = EllipseOutlineGeometry.createGeometry(ellipseGeometry);
        PrimitivePipeline.transferGeometry(geometry, transferableObjects);

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

    return createTaskProcessorWorker(createEllipseOutlineGeometry);
});

Version data entries

6 entries across 6 versions & 1 rubygems

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