/[libvob]/libvob/org/nongnu/libvob/gl/Paper.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/gl/Paper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Fri Apr 25 11:17:54 2003 UTC revision 1.3 by tjl, Mon Jun 23 12:36:19 2003 UTC
# Line 44  public class Paper implements GLDeletabl Line 44  public class Paper implements GLDeletabl
44       */       */
45      private ArrayList depends;      private ArrayList depends;
46    
47        /** Add an object on whose C++ representation this paper
48         * depends. For instance, if one of the setup codes uses
49         * a texture id of a given GL.Texture object, then that
50         * object should be added here.
51         */
52        public void addDepend(Object o) { depends.add(o); }
53    
54      public class Pass {      public class Pass {
55          private int index;          private int index;
56          private Pass(int index) { this.index = index; }          private Pass(int index) { this.index = index; }
# Line 65  public class Paper implements GLDeletabl Line 72  public class Paper implements GLDeletabl
72          public void putEmbossTexGen(int ind, float[] matrix, float eps) {          public void putEmbossTexGen(int ind, float[] matrix, float eps) {
73              impl_Pass_putEmbossTexGen(c_id, index, ind, matrix, eps);              impl_Pass_putEmbossTexGen(c_id, index, ind, matrix, eps);
74          }          }
75    
76            /** Add an object on whose C++ representation this paper
77             * depends. For instance, if one of the setup codes uses
78             * a texture id of a given GL.Texture object, then that
79             * object should be added here.
80             */
81            public void addDepend(Object o) {
82                Paper.this.addDepend(o);
83            }
84      }      }
85    
86      public int getNPasses() { return impl_getNPasses(c_id); }      public int getNPasses() { return impl_getNPasses(c_id); }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26