Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added 4-4 image to docs
  • Loading branch information
Gaweph authored Feb 1, 2022
commit 2c5c20dffdf79f006cfe29d67eec1ba9623a9921
3 changes: 3 additions & 0 deletions src/core/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import p5 from './main';
* > <img style="max-width: 150px" src="assets/transformation-matrix.png"
* alt="The transformation matrix used when applyMatrix is called"/>
*
* <img style="max-width: 150px" src="assets/transformation-matrix-4-4.png"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

150px width is a bit too small for this matrix. You can preview this using grunt yui:dev.

* alt="The transformation matrix used when applyMatrix is called with 4x4 matrix"/>
*
* @method applyMatrix
* @param {Array} arr an array of numbers - should be 6 or 16 length (2*3 or 4*4 matrix values)
* @chainable
Expand Down