
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Part of a fork of @toji's
gl-matrix split into smaller pieces: this
package contains glMatrix.mat3
.
mat3 = require('gl-mat3')
Will load all of the module's functionality and expose it on a single object. Note that any of the methods may also be required directly from their files.
For example, the following are equivalent:
var scale = require('gl-mat3').scale
var scale = require('gl-mat3/scale')
Calculates the adjugate of a mat3
Creates a new mat3 initialized with values from an existing matrix
Copy the values from one mat3 to another
Creates a new identity mat3
Calculates the determinant of a mat3
Returns Frobenius norm of a mat3
Copies the values from a mat2d into a mat3
Copies the upper-left 3x3 values into the given mat3.
Calculates a 3x3 matrix from the given quaternion
Set a mat3 to the identity matrix
Inverts a mat3
Multiplies two mat3's
Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix
Rotates a mat3 by the given angle
Scales the mat3 by the dimensions in the given vec2
Returns a string representation of a mat3
Translate a mat3 by the given vector
Transpose the values of a mat3
zlib. See LICENSE.md for details.
FAQs
gl-matrix's mat3, split into smaller pieces
We found that gl-mat3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.