Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java441 Vector3f givenNormal = new Vector3f(); in processTriangleData() local
451 givenNormal.set(vertexInfo.normal); in processTriangleData()
452 givenNormal.normalizeLocal(); in processTriangleData()
506 if (givenNormal.dot(triangleData.normal) < 0) { in processTriangleData()
528 binormal.cross(givenNormal, tangent); in processTriangleData()
540 if (Math.abs(Math.abs(tangentUnit.dot(givenNormal)) - 1) in processTriangleData()
553 givenNormal.cross(tangent, binormal); in processTriangleData()
565 if (Math.abs(Math.abs(binormalUnit.dot(givenNormal)) - 1) in processTriangleData()
582 givenNormal.cross(tangent, binormal); in processTriangleData()
583 binormal.cross(givenNormal, tangent); in processTriangleData()