Skip to content

Commit

Permalink
Update vec2-impl.ts
Browse files Browse the repository at this point in the history
`transformMat3` has the wrong description
  • Loading branch information
mreinstein authored and greggman committed Nov 19, 2024
1 parent 7fa24ec commit 0b6c699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vec2-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ function zero<T extends Vec2Arg = VecType>(dst?: T) {


/**
* transform Vec2 by 4x4 matrix
* Transform Vec2 by 4x4 matrix
* @param v - the vector
* @param m - The matrix.
* @param dst - optional Vec2 to store result. If not passed a new one is created.
Expand All @@ -659,7 +659,7 @@ function transformMat4<T extends Vec2Arg = VecType>(v: Vec2Arg, m: Mat4Arg, dst?
}

/**
* Transforms vec4 by 3x3 matrix
* Transform Vec2 by 3x3 matrix
*
* @param v - the vector
* @param m - The matrix.
Expand Down

0 comments on commit 0b6c699

Please sign in to comment.