From 0981c8276090702206e4e452f35f441b8cbcd4ef Mon Sep 17 00:00:00 2001 From: Alex Wood Date: Wed, 21 May 2014 14:29:29 -0400 Subject: [PATCH] Fixes based on @mramato comments. --- Source/Core/Geometry.js | 2 +- Source/DynamicScene/PositionPropertyArray.js | 4 ++-- Source/DynamicScene/PropertyArray.js | 4 ++-- Source/DynamicScene/SampledPositionProperty.js | 2 +- Source/DynamicScene/SampledProperty.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Core/Geometry.js b/Source/Core/Geometry.js index b12841f2750c..5aacb82f6650 100644 --- a/Source/Core/Geometry.js +++ b/Source/Core/Geometry.js @@ -23,7 +23,7 @@ define([ * * @param {GeometryAttributes} options.attributes Attributes, which make up the geometry's vertices. * @param {PrimitiveType} options.primitiveType The type of primitives in the geometry. - * @param {Uint16Array} [options.indices] Optional index data that determines the primitives in the geometry. + * @param {Uint16Array|Uint32Array} [options.indices] Optional index data that determines the primitives in the geometry. * @param {BoundingSphere} [options.boundingSphere] An optional bounding sphere that fully enclosed the geometry. * diff --git a/Source/DynamicScene/PositionPropertyArray.js b/Source/DynamicScene/PositionPropertyArray.js index 68c7b09120e6..6970f7c17804 100644 --- a/Source/DynamicScene/PositionPropertyArray.js +++ b/Source/DynamicScene/PositionPropertyArray.js @@ -89,8 +89,8 @@ define([ * @memberof PositionPropertyArray * * @param {JulianDate} [time] The time for which to retrieve the value. This parameter is unused since the value does not change with respect to time. - * @param {PositionProperty[]} [result] The object to store the value into, if omitted, a new instance is created and returned. - * @returns {PositionProperty[]} The modified result parameter or a new instance if the result parameter was not supplied. + * @param {Cartesian3[]} [result] The object to store the value into, if omitted, a new instance is created and returned. + * @returns {Cartesian3[]} The modified result parameter or a new instance if the result parameter was not supplied. */ PositionPropertyArray.prototype.getValue = function(time, result) { return this.getValueInReferenceFrame(time, ReferenceFrame.FIXED, result); diff --git a/Source/DynamicScene/PropertyArray.js b/Source/DynamicScene/PropertyArray.js index 0b6174eb30ba..255d30706275 100644 --- a/Source/DynamicScene/PropertyArray.js +++ b/Source/DynamicScene/PropertyArray.js @@ -72,8 +72,8 @@ define([ * @memberof PropertyArray * * @param {JulianDate} [time] The time for which to retrieve the value. This parameter is unused since the value does not change with respect to time. - * @param {Property[]} [result] The object to store the value into, if omitted, a new instance is created and returned. - * @returns {Property[]} The modified result parameter or a new instance if the result parameter was not supplied. + * @param {Object[]} [result] The object to store the value into, if omitted, a new instance is created and returned. + * @returns {Object[]} The modified result parameter or a new instance if the result parameter was not supplied. */ PropertyArray.prototype.getValue = function(time, result) { //>>includeStart('debug', pragmas.debug); diff --git a/Source/DynamicScene/SampledPositionProperty.js b/Source/DynamicScene/SampledPositionProperty.js index e5cce2800052..4e34616c87d6 100644 --- a/Source/DynamicScene/SampledPositionProperty.js +++ b/Source/DynamicScene/SampledPositionProperty.js @@ -180,7 +180,7 @@ define([ * Adds samples as a single packed array where each new sample is represented as a date, followed by the packed representation of the corresponding value. * @memberof SampledPositionProperty * - * @param {Packable[]} packedSamples The array of packed samples. + * @param {Number[]} packedSamples The array of packed samples. * @param {JulianDate} [epoch] If any of the dates in packedSamples are numbers, they are considered an offset from this epoch, in seconds. */ SampledPositionProperty.prototype.addSamplesPackedArray = function(data, epoch) { diff --git a/Source/DynamicScene/SampledProperty.js b/Source/DynamicScene/SampledProperty.js index 722b141839f9..4efd988d8d98 100644 --- a/Source/DynamicScene/SampledProperty.js +++ b/Source/DynamicScene/SampledProperty.js @@ -450,7 +450,7 @@ define([ * Adds samples as a single packed array where each new sample is represented as a date, followed by the packed representation of the corresponding value. * @memberof SampledProperty * - * @param {Packable[]} packedSamples The array of packed samples. + * @param {Number[]} packedSamples The array of packed samples. * @param {JulianDate} [epoch] If any of the dates in packedSamples are numbers, they are considered an offset from this epoch, in seconds. */ SampledProperty.prototype.addSamplesPackedArray = function(packedSamples, epoch) {