[Gridflow-cvs] [svn] commit: r5257 - /trunk/src/gem.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Mar 30 15:32:16 EDT 2010


Author: matju
Date: Tue Mar 30 15:32:08 2010
New Revision: 5257

Log:
do not accept any arguments in [#from_pix] [#to_pix] (apart from the commas...)

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Tue Mar 30 15:32:08 2010
@@ -112,7 +112,7 @@
 	\decl 0 gem_state (...);
 	void render(GemState *state) {state->image = &m_pixBlock;}
 	void startRendering () {m_pixBlock.newimage = 1;}
-	GridToPix (BFObject *bself, MESSAGE) : FObject(bself,MESSAGE2) {
+	\constructor () {
 		yflip = false;
 		imageStruct &im = m_pixBlock.image = imageStruct();
 		im.ysize = 1;
@@ -170,8 +170,7 @@
 	\attr bool yflip;
 	\attr NumberTypeE cast;
 	int channels;
-	GridFromPix () : FObject(0,0,0,0) {RAISE("don't call this. this exists only to make GEM happy.");}
-	GridFromPix (BFObject *bself, MESSAGE) : FObject(bself,MESSAGE2) {
+	\constructor () {
 		yflip = false;
 		cast = int32_e;
 		_0_colorspace(0,0,gensym("rgba"));



More information about the Gridflow-cvs mailing list