gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob include/vob/vobs/Irregu.hxx src/jni/GLRe...


From: Janne V. Kujala
Subject: [Gzz-commits] libvob include/vob/vobs/Irregu.hxx src/jni/GLRe...
Date: Wed, 09 Apr 2003 09:33:36 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Janne V. Kujala <address@hidden>        03/04/09 09:33:36

Modified files:
        include/vob/vobs: Irregu.hxx 
        src/jni        : GLRen.template.java 

Log message:
        fix irregularedge

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/include/vob/vobs/Irregu.hxx.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/src/jni/GLRen.template.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text

Patches:
Index: libvob/include/vob/vobs/Irregu.hxx
diff -u libvob/include/vob/vobs/Irregu.hxx:1.2 
libvob/include/vob/vobs/Irregu.hxx:1.3
--- libvob/include/vob/vobs/Irregu.hxx:1.2      Wed Apr  9 08:25:20 2003
+++ libvob/include/vob/vobs/Irregu.hxx  Wed Apr  9 09:33:36 2003
@@ -307,6 +307,7 @@
          
     vector<float> getconstvec(unicodecharvector x) {
        vector<float> v;
+       if(x.begin() == x.end()) return v;
        string s(x.begin(), x.end());
        const char *p = s.c_str();
        char *e;
@@ -441,7 +442,7 @@
     }
 };
 
-//VOB_DEFINED(IrregularEdge);
+VOB_DEFINED(IrregularEdge);
 
 }
 }
Index: libvob/src/jni/GLRen.template.java
diff -u libvob/src/jni/GLRen.template.java:1.7 
libvob/src/jni/GLRen.template.java:1.8
--- libvob/src/jni/GLRen.template.java:1.7      Thu Mar 27 05:27:37 2003
+++ libvob/src/jni/GLRen.template.java  Wed Apr  9 09:33:36 2003
@@ -90,4 +90,13 @@
        return createIrregularQuad(x0, y0, x1, y1, border, freq, flags, 
GL.createDisplayList(setup), dicefactor);
     }
 
-
+    public static IrregularEdge createIrregularEdge(
+           int shape, float texscale, float linewidth, float refsize, float 
scale_pow,
+            float border0, float border1, float texslicing,
+            String const0, String const1, int angles, int multi, int flags,
+            String setup, float dicefactor) {
+       return createIrregularEdge(shape, texscale, linewidth, refsize, 
scale_pow,
+            border0, border1, texslicing, const0, const1, angles, multi, flags,
+            GL.createDisplayList(setup), dicefactor);
+    }
+    




reply via email to

[Prev in Thread] Current Thread [Next in Thread]