From 6499b5083583a579ad8db33e41ffdf16246e070f Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Tue, 14 May 2002 20:33:56 +0000 Subject: [PATCH] programmers dont need set_alpha_test --- panda/src/pgraph/nodePath.cxx | 4 +++- panda/src/pgraph/nodePath.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index a18293c40b..b077eed32f 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/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 diff --git a/panda/src/pgraph/nodePath.h b/panda/src/pgraph/nodePath.h index 1f9291a957..26fd7860f7 100644 --- a/panda/src/pgraph/nodePath.h +++ b/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;