]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tests.h
Add a speed parameter for animation playback
[libs/gl.git] / source / tests.h
index 02e5f929475130236e5c43f48de96f2c0ff3cfee..f7d729504a37f34b477a635675197f4166c29791 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007, 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_TESTS_H_
 #define MSP_GL_TESTS_H_
 
@@ -15,26 +8,6 @@ Distributed under the LGPL
 namespace Msp {
 namespace GL {
 
-/**
-Tests incoming fragment alpha values against a reference.  If the test fails,
-the fragment is discarded.
-*/
-class AlphaTest: public Bindable<AlphaTest>
-{
-private:
-       Predicate pred;
-       float ref;
-
-public:
-       AlphaTest();
-       AlphaTest(Predicate, float);
-
-       void bind() const;
-
-       static void unbind();
-};
-
-
 /**
 Tests incoming fragment depth values against the depth buffer.  If the test
 fails, the fragment is discarded.