for 0.0.1
Show:

# Matrix3 Class

Matrix3 class

This class extends the one from Three.js, API available here : http://threejs.org/docs/#Reference/Math/Matrix3

## Methods

### `applyToVector3Array`

(
• `array`
)

Multiplies (applies) this matrix to every vector3 in the array.

#### Parameters:

• `array` Array

Array

()

Matrix3

### `copy`

(
• `m`
)

Copies the values of matrix m into this matrix.

Matrix3

()

Float

### `getInverse`

(
• `m`
• `throwOnDegenerate`
)

Set this matrix to the inverse of the passed matrix.

#### Parameters:

• `m` Matrix4
• `throwOnDegenerate` Boolean

Matrix3

### `getNormalMatrix`

(
• `m`
)

Sets this matrix as the normal matrix (upper left 3x3)of the passed Matrix4 matrix4. The normal matrix is the inverse transpose of the matrix m.

Matrix3

### `multiplyScalar`

(
• `s`
)

Multiplies every component of the matrix by the scalar value s.

#### Parameters:

• `s` Float

Matrix3

### `set`

(
• `n11`
• `n12`
• `n13`
• `n21`
• `n22`
• `n23`
• `n31`
• `n32`
• `n33`
)

Sets the 3x3 matrix values to the given row-major sequence of values.

#### Parameters:

• `n11` Float
• `n12` Float
• `n13` Float
• `n21` Float
• `n22` Float
• `n23` Float
• `n31` Float
• `n32` Float
• `n33` Float

Matrix3

()

Matrix3

### `transposeIntoArray`

(
• `array`
)

Transposes this matrix into the supplied array, and returns itself unchanged.

#### Parameters:

• `array` Array

Matrix3