/** * Obtains the unit length normal vector of this triangle... Will create and recalculate this normal vector if this * is the first request, or if one of the points on the triangle has changed since the last request. * * @return the normal vector * @throws NullPointerException * if store is null. */ @Override public ReadOnlyVector3 getNormal() { if (_dirtyNormal) { calculateNormal(); } return _normal; }
/** * Obtains the unit length normal vector of this triangle... Will create and recalculate this normal vector if this * is the first request, or if one of the points on the triangle has changed since the last request. * * @return the normal vector * @throws NullPointerException * if store is null. */ @Override public ReadOnlyVector3 getNormal() { if (_dirtyNormal) { calculateNormal(); } return _normal; }