commit 97460908f0a371ca7487048a098d0a6d0a10c93c
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Mon Feb 14 12:42:19 2022 +0100

    new API to enable/disable face culling

diff --git a/src/main/java/org/distorted/library/main/DistortedLibrary.java b/src/main/java/org/distorted/library/main/DistortedLibrary.java
index 31b024e..2290916 100644
--- a/src/main/java/org/distorted/library/main/DistortedLibrary.java
+++ b/src/main/java/org/distorted/library/main/DistortedLibrary.java
@@ -1052,6 +1052,23 @@ public class DistortedLibrary
       }
     }
 
+///////////////////////////////////////////////////////////////////////////////////////////////////
+/**
+ * Switch face culling on/off
+ */
+  public static void setCull(boolean on)
+    {
+    if( on )
+      {
+      GLES30.glEnable(GLES30.GL_CULL_FACE);
+      GLES30.glCullFace(GLES30.GL_FRONT);
+      }
+    else
+      {
+      GLES30.glDisable(GLES30.GL_CULL_FACE);
+      }
+    }
+
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 /**
  * Call this so that the Library can initialize its internal data structures.
