Sha256: 7948f9cdaeca0479201a59db33843790f4dab75107c7ad792beaf1b31fc25aa0
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 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 commands. * @type {Array} * @default [] */ this.commands = []; }; return FrustumCommands; });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.18.0 | app/assets/javascripts/Scene/FrustumCommands.js |