Browse Source

programmers dont need set_alpha_test

cxgeorge 23 years ago
parent
commit
6499b50835
2 changed files with 5 additions and 3 deletions
  1. 3 1
      panda/src/pgraph/nodePath.cxx
  2. 2 2
      panda/src/pgraph/nodePath.h

+ 3 - 1
panda/src/pgraph/nodePath.cxx

@@ -1979,6 +1979,8 @@ get_two_sided() const {
   return false;
 }
 
+#if 0
+// programmers prolly wont need alpha-test control
 ////////////////////////////////////////////////////////////////////
 //     Function: NodePath::set_alpha_test
 //       Access: Published
@@ -2042,7 +2044,7 @@ get_alpha_test() const {
 
   return false;
 }
-
+#endif
 ////////////////////////////////////////////////////////////////////
 //     Function: NodePath::set_depth_test
 //       Access: Published

+ 2 - 2
panda/src/pgraph/nodePath.h

@@ -430,12 +430,12 @@ PUBLISHED:
   void clear_two_sided();
   bool has_two_sided() const;
   bool get_two_sided() const;
-
+#if 0
   void set_alpha_test(RenderAttrib::PandaCompareFunc alpha_test_mode,float reference_alpha,int priority = 0);
   void clear_alpha_test();
   bool has_alpha_test() const;
   bool get_alpha_test() const;
-
+#endif
   void set_depth_test(bool depth_test, int priority = 0);
   void clear_depth_test();
   bool has_depth_test() const;