Skip to content

Commit

Permalink
Merge pull request #6767 from bampakoa/docs
Browse files Browse the repository at this point in the history
Integration with tsd-jsdoc for generating typings
  • Loading branch information
Hannah authored Jul 25, 2018
2 parents ca45f30 + 8c852b1 commit dbb3fd4
Show file tree
Hide file tree
Showing 17 changed files with 81 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Core/PolylinePipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ define([

/**
* Subdivides polyline and raises all points to the specified height. Returns an array of numbers to represent the positions.
* @param {Object} options Object with the following properties:
* @param {Cartesian3[]} options.positions The array of type {Cartesian3} representing positions.
* @param {Number|Number[]} [options.height=0.0] A number or array of numbers representing the heights of each position.
* @param {Number} [options.granularity = CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
Expand Down Expand Up @@ -288,6 +289,7 @@ define([

/**
* Subdivides polyline and raises all points to the specified height. Returns an array of new {Cartesian3} positions.
* @param {Object} options Object with the following properties:
* @param {Cartesian3[]} options.positions The array of type {Cartesian3} representing positions.
* @param {Number|Number[]} [options.height=0.0] A number or array of numbers representing the heights of each position.
* @param {Number} [options.granularity = CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Tipsify.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ define([
/**
* Optimizes triangles for the post-vertex shader cache.
*
* @param {Object} options Object with the following properties:
* @param {Number[]} options.indices Lists triads of numbers corresponding to the indices of the vertices
* in the vertex buffer that define the geometry's triangles.
* @param {Number} [options.maximumIndex] The maximum value of the elements in <code>args.indices</code>.
Expand Down
1 change: 1 addition & 0 deletions Source/Core/defaultValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ define([
/**
* A frozen empty object that can be used as the default value for options passed as
* an object literal.
* @type {Object}
*/
defaultValue.EMPTY_OBJECT = freezeObject({});

Expand Down
Loading

0 comments on commit dbb3fd4

Please sign in to comment.