gl-matrix-invert

WebJar for gl-matrix-invert

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gl-matrix-invert
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

gl-matrix-invert
WebJar for gl-matrix-invert
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mikolalysenko/gl-matrix-invert

Download gl-matrix-invert

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gl-matrix-invert/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gl-matrix-invert</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gl-matrix-invert/
implementation 'org.webjars.npm:gl-matrix-invert:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/gl-matrix-invert/
implementation ("org.webjars.npm:gl-matrix-invert:1.0.0")
'org.webjars.npm:gl-matrix-invert:jar:1.0.0'
<dependency org="org.webjars.npm" name="gl-matrix-invert" rev="1.0.0">
  <artifact name="gl-matrix-invert" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gl-matrix-invert', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "gl-matrix-invert" % "1.0.0"
[org.webjars.npm/gl-matrix-invert "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.npm : gl-mat2 jar [1.0.0,2)
org.webjars.npm : gl-mat3 jar [1.0.0,2)
org.webjars.npm : gl-mat4 jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

gl-matrix-invert

Dimension independent matrix inverse

Example

var invert = require('gl-matrix-invert')


console.log(invert(new Array(9), [1, 0, 0,
                                  0, 1, 0,
                                  -1, 10, 1]))

API

require('gl-matrix-invert')(dest, src)

Computes the inverse of an array matrix in column-major order (as is the convention in WebGL/gl-matrix).

  • src is the input matrix
  • dest is an array which receives the result of the matrix inverse

Returns dst

Notes Currently only works with matrices up to 4x4

Credits

(c) 2014 Mikola Lysenko. MIT License

Versions

Version
1.0.0