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

Method applyNormalMatrix

src/math/Vector3.js:437–441  ·  view source on GitHub ↗

* Multiplies this vector by the given normal matrix and normalizes * the result. * * @param {Matrix3} m - The normal matrix. * @return {Vector3} A reference to this vector.

( m )

Source from the content-addressed store, hash-verified

435 * @return {Vector3} A reference to this vector.
436 */
437 applyNormalMatrix( m ) {
438
439 return this.applyMatrix3( m ).normalize();
440
441 }
442
443 /**
444 * Multiplies this vector (with an implicit 1 in the 4th dimension) by m, and

Callers 3

mergeObjectMethod · 0.45
genGeometryMethod · 0.45
pushDecalVertexMethod · 0.45

Calls 2

applyMatrix3Method · 0.95
normalizeMethod · 0.45

Tested by

no test coverage detected