Use Array<Foo> instead of Array.<Foo>

This commit is contained in:
Tim Schaub
2018-07-25 18:32:43 -07:00
parent 5a6502572f
commit d12ef20b12
184 changed files with 1194 additions and 1194 deletions

View File

@@ -4,7 +4,7 @@
/**
* @return {Array.<number>} 4x4 matrix representing a 3D identity transform.
* @return {Array<number>} 4x4 matrix representing a 3D identity transform.
*/
export function create() {
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
@@ -12,9 +12,9 @@ export function create() {
/**
* @param {Array.<number>} mat4 Flattened 4x4 matrix receiving the result.
* @param {Array<number>} mat4 Flattened 4x4 matrix receiving the result.
* @param {module:ol/transform~Transform} transform Transformation matrix.
* @return {Array.<number>} 2D transformation matrix as flattened 4x4 matrix.
* @return {Array<number>} 2D transformation matrix as flattened 4x4 matrix.
*/
export function fromTransform(mat4, transform) {
mat4[0] = transform[0];