Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ib Green committed Jun 6, 2019
1 parent 3b5b89c commit f7da02d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/external-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The math.gl API is intentionally designed to remain intuitively similar to the w

Only in a few cases where `gl-matrix` methods take a long list arguments (e.g. `Matrix4.perspective`, `Matrix4.ortho` etc) or return multiple values (e.g. `quat.getAxisRotation`) do methods provide a modified API that is more natural for modern ES6 applications to use, e.g. using named parameters, or collecting all results in one returned object.

Also, for transforming vectors with matrices, the `transformVector*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors.
Also, for transforming vectors with matrices, the `transform*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors.

In code that is very frequently executed, working with directly with gl-matrix can sometimes provide better performance math.gl.

Expand Down
2 changes: 1 addition & 1 deletion docs/wip/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The class API is intentionally designed to remain intuitively similar to the wra

Only in a few cases where `gl-matrix` methods take a long list arguments (e.g. `mat4.perspective`, `mat4.ortho` etc) or return multiple values (e.g. `quat.getAxisRotation`) do methods provide a modified API that is more natural for modern ES6 applications to use, e.g. using named parameters, or collecting all results in one returned object.

Also, for transforming vectors with matrices, the `transformVector*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors.
Also, for transforming vectors with matrices, the `transform*` methods are offered in the matrix classes, instead of on the vector classes. They also (optionally) auto allocate the result vectors.


## Caveats
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/lib/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const map = {};
export function deprecated(method, version) {
if (!map[method]) {
map[method] = true;
// eslint-disasble-next-line
// eslint-disable-next-line
console.warn(
`${method} has been removed in version ${version}, see upgrade guide for more information`
);
Expand Down

0 comments on commit f7da02d

Please sign in to comment.