Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/math/
DTriangle.java53 private Vector3f pointc = new Vector3f(); field in Triangle
74 pointc.set(p3); in Triangle()
91 return pointc; in get()
106 return pointc; in get3()
125 pointc.set(point); in set()
145 pointc.set(x, y, z); in set()
159 pointc.set(v); in set3()
165 pointc.set(v3); in set()
178 center.addLocal(pointb).addLocal(pointc).multLocal(FastMath.ONE_THIRD); in calculateCenter()
191 …normal.subtractLocal(pointa).crossLocal(pointc.x - pointa.x, pointc.y - pointa.y, pointc.z - point… in calculateNormal()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTriangle.java42 private final Vector3f pointc = new Vector3f(); field in BIHTriangle
48 pointc.set(p3); in BIHTriangle()
50 center.addLocal(pointb).addLocal(pointc).multLocal(FastMath.ONE_THIRD); in BIHTriangle()
62 return pointc; in get3()
71 … normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z); in getNormal()
79 case 0: v1 = pointa.x; v2 = pointb.x; v3 = pointc.x; break; in getExtreme()
80 case 1: v1 = pointa.y; v2 = pointb.y; v3 = pointc.y; break; in getExtreme()
81 case 2: v1 = pointa.z; v2 = pointb.z; v3 = pointc.z; break; in getExtreme()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOCTTriangle.java41 private final Vector3f pointc = new Vector3f(); field in OCTTriangle
48 pointc.set(p3); in OCTTriangle()
70 return pointc; in get3()
75 … normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z); in getNormal()