Sha256: 4bcacacec28454dda4ec82abe92c106508dd0517daf46b3c0b9aefb3887a1b9d
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 KB
Contents
/*global define*/ define(['Core/defaultValue'], function(defaultValue) { "use strict"; /** * Defines a list of commands whose geometry are bound by near and far distances from the camera. * @alias FrustumCommands * @constructor * * @param {Number} [near=0.0] The lower bound or closest distance from the camera. * @param {Number} [far=0.0] The upper bound or farthest distance from the camera. */ var FrustumCommands = function(near, far) { /** * The lower bound or closest distance from the camera. * @type {Number} * @default 0.0 */ this.near = defaultValue(near, 0.0); /** * The upper bound or farthest distance from the camera. * @type {Number} * @default 0.0 */ this.far = defaultValue(far, 0.0); /** * The list of opaque commands. * @type {Array} * @default [] */ this.opaqueCommands = []; /** * The list of translucent commands. * @type {Array} * @default [] */ this.translucentCommands = []; }; return FrustumCommands; });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.25.0 | app/assets/javascripts/Scene/FrustumCommands.js |
cesium-0.24.1 | app/assets/javascripts/Scene/FrustumCommands.js |
cesium-0.24.0 | app/assets/javascripts/Scene/FrustumCommands.js |