Skip to content

Commit

Permalink
Fixes based on @mramato comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
abwood committed May 21, 2014
1 parent b92de10 commit 0981c82
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions Source/DynamicScene/PositionPropertyArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions Source/DynamicScene/PropertyArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Source/DynamicScene/SampledPositionProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Source/DynamicScene/SampledProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0981c82

Please sign in to comment.