isParallelQuadOnFace

static boolean isParallelQuadOnFace(Direction lightFace, QuadView quad)

True if quad - already known to be parallel to a face - is actually coplanar with it.For compatibility with vanilla resource packs, also true if quad is outside the face.

Test will be unreliable if not already parallel, use isQuadParallelToFace for that purpose. Expects convex quads with all points co-planar.

Sources

jvm source
Link copied to clipboard