Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Jul 26, 2024
1 parent 34fd94c commit 8b71ac8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ To get good performance it is important to structure code so that it can be comp

In particular, math.gl makes efforts to ensure that the engine knows that fields in math classes contain numbers, which allows for important optimizations that can result in a \~5x performance difference for simple operations.

A good introduction to the topic can be found in [JavaScript Performance Pitfalls in V8](https://ponyfoo.com/articles/JavaScript-performance-pitfalls-v8).
A good introduction to the topic can be found in [JavaScript Performance Pitfalls in V8](https://ponyfoo.com/articles/javascript-performance-pitfalls-v8).
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/matrix3.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const vector3 = transform.transformDirection([1, 2, 1]);

## Inheritance

`class Matrix3 extends [Matrix](./docs/api-reference/matrix) extends [MathArray](./docs/api-reference/math-array) extends [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)`
`class Matrix3 extends [Matrix](./docs/api-reference/matrix) extends [MathArray](./docs/api-reference/math-array) extends [Array](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)`

## Methods

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/matrix4.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const vector4 = transform.transformDirection([0, 1, 2, 1]);

## Inheritance

`class Matrix4 extends` [`Matrix`](/docs/modules/core/api-reference/matrix) `extends` [`MathArray`](/docs/modules/core/api-reference/math-array) `extends` [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)`
`class Matrix4 extends` [`Matrix`](/docs/modules/core/api-reference/matrix) `extends` [`MathArray`](/docs/modules/core/api-reference/math-array) `extends` [`Array`](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)`

Many basic methods are inherited:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Inheritance

`class Vector extends [MathArray](./docs/api-reference/math-array) extends [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)`
`class Vector extends [MathArray](./docs/api-reference/math-array) extends [Array](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)`

## Methods

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/vector2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const vector = new Vector2(1, 1);

## Inheritance

`Vector2` extends [`Vector`](/docs/modules/core/api-reference/vector) extends [`MathArray`](/docs/modules/core/api-reference/math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
`Vector2` extends [`Vector`](/docs/modules/core/api-reference/vector) extends [`MathArray`](/docs/modules/core/api-reference/math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)

Many commonly used `Vector2` methods are inherited from `Vector` and `MathArray`:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/vector3.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const w = v.scale([1, -1, 1]); // Flip y component

## Inheritance

`Vector3` extends [`Vector`](/docs/modules/core/api-reference/vector) extends [`MathArray`](/docs/modules/core/api-reference/math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
`Vector3` extends [`Vector`](/docs/modules/core/api-reference/vector) extends [`MathArray`](/docs/modules/core/api-reference/math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)

## Members

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/core/api-reference/vector4.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const point = new Vector4(0, 0, 0, 1);

## Inheritance

`Vector4` extends [`Vector`](./vector) extends [`MathArray`](./math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
`Vector4` extends [`Vector`](./vector) extends [`MathArray`](./math-array) extends [`Array`](https://developer.mozilla.org/en-US/docs/Web/javascript/Reference/Global_Objects/Array)

## Members

Expand Down

0 comments on commit 8b71ac8

Please sign in to comment.