Home
last modified time | relevance | path

Searched refs:tangentUnit (Results 1 – 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java443 Vector3f tangentUnit = new Vector3f(); in processTriangleData() local
468 tangentUnit.set(triangleData.tangent); in processTriangleData()
469 tangentUnit.normalizeLocal(); in processTriangleData()
470 if (tangent.dot(tangentUnit) < toleranceDot) { in processTriangleData()
538 tangentUnit.set(tangent); in processTriangleData()
539 tangentUnit.normalizeLocal(); in processTriangleData()
540 if (Math.abs(Math.abs(tangentUnit.dot(givenNormal)) - 1) in processTriangleData()
571 if (Math.abs(Math.abs(binormalUnit.dot(tangentUnit)) - 1) in processTriangleData()