Skip to content

Commit 0b6c699

Browse files
mreinsteingreggman
authored andcommitted
Update vec2-impl.ts
`transformMat3` has the wrong description
1 parent 7fa24ec commit 0b6c699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vec2-impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ function zero<T extends Vec2Arg = VecType>(dst?: T) {
640640

641641

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

661661
/**
662-
* Transforms vec4 by 3x3 matrix
662+
* Transform Vec2 by 3x3 matrix
663663
*
664664
* @param v - the vector
665665
* @param m - The matrix.

0 commit comments

Comments
 (0)