From 8768a855af9ccc482a9520ce708ef32e0e6e0e7d Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Fri, 04 Oct 2019 20:06:36 -0400
Subject: [PATCH] Block multiple download.

---
 iCameraPane.java |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/iCameraPane.java b/iCameraPane.java
index bfbe44c..2fdab16 100644
--- a/iCameraPane.java
+++ b/iCameraPane.java
@@ -24,7 +24,7 @@
     
     boolean IsFrozen();
 
-    javax.media.opengl.GL GetGL();
+    javax.media.opengl.GL GetGL0();
     
     // Currently in Globals
     int DrawMode();
@@ -42,7 +42,7 @@
     Camera ManipCamera();
     Camera RenderCamera();
     
-    boolean SetCamera(Camera c);
+    boolean SetCamera(Camera c, boolean set);
             
     cVector TargetLookAt();
 
@@ -55,18 +55,38 @@
     
     void DrawString(Object3D obj);
     
-    void BindTextures(cTexture tex, int resolution);
-    void ReleaseTextures(cTexture tex);
+    //void BindTextures(cTexture tex, int resolution) throws Exception;
+    //void ReleaseTextures(cTexture tex);
+    void BindPigmentTexture(cTexture tex, int resolution) throws Exception;
+    void BindBumpTexture(cTexture tex, int resolution) throws Exception;
+    void ReleasePigmentTexture(cTexture tex);
+    void ReleaseBumpTexture(cTexture tex);
     
     void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face);
     
+    void DrawBox(cVector min, cVector max);
+        
+    void DrawGeometry(BoundaryRep bRep, boolean flipV, boolean selectmode);
+    
+    void DrawDynamicMesh(cMesh c);
+    
+    void StartTriangles();
+    void EndTriangles();
+    
+    int  GenList();
+    void NewList(int id);
+    void CallList(int id);
+    void EndList();
+    
+    void NextIndex();
+            
     void DrawParticles(TriMesh geo, Object3D shape, boolean selected, boolean rotate);
     
     void PrepOcclusion(BoundaryRep br, double[][] transform);
     
     void setCursor(java.awt.Cursor cursor);
     
-    com.sun.opengl.util.texture.TextureData GetTextureData(String tex, boolean bump, int resolution);
+    com.sun.opengl.util.texture.TextureData GetTextureData(cTexture tex, boolean bump, int resolution) throws Exception;
             
     void repaint();
     

--
Gitblit v1.6.2