MCPcopy
hub / github.com/mrdoob/three.js / setFromMatrixColumn

Method setFromMatrixColumn

src/math/Vector3.js:1096–1100  ·  view source on GitHub ↗

* Sets the vector components from the specified matrix column. * * @param {Matrix4} m - The 4x4 matrix. * @param {number} index - The column index. * @return {Vector3} A reference to this vector.

( m, index )

Source from the content-addressed store, hash-verified

1094 * @return {Vector3} A reference to this vector.
1095 */
1096 setFromMatrixColumn( m, index ) {
1097
1098 return this.fromArray( m.elements, index * 4 );
1099
1100 }
1101
1102 /**
1103 * Sets the vector components from the specified matrix column.

Callers 8

setFromMatrixScaleMethod · 0.95
Vector3.tests.jsFile · 0.80
extractBasisMethod · 0.80
extractRotationMethod · 0.80
moveForwardMethod · 0.80
moveRightMethod · 0.80
_panLeftMethod · 0.80
_panUpMethod · 0.80

Calls 1

fromArrayMethod · 0.95

Tested by

no test coverage detected