Skip to content

Commit

Permalink
fix(modeling): added TS definitions for mat4.isIdentity()
Browse files Browse the repository at this point in the history
  • Loading branch information
hrgdavor authored May 14, 2024
1 parent 0998e7e commit 0d02c83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/modeling/src/maths/mat4/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export { default as fromXRotation } from './fromXRotation'
export { default as fromYRotation } from './fromYRotation'
export { default as fromZRotation } from './fromZRotation'
export { default as identity } from './identity'
export { default as isIdentity } from './isIdentity'
export { default as isMirroring } from './isMirroring'
export { default as mirrorByPlane } from './mirrorByPlane'
export { default as multiply } from './multiply'
Expand Down
5 changes: 5 additions & 0 deletions packages/modeling/src/maths/mat4/isIdentity.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Mat4 from './type'

export default isIdentity

declare function isIdentity(matrix: Mat4): boolean

0 comments on commit 0d02c83

Please sign in to comment.