~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to release/plugins/texture/tiles.c

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 /**
2
 
 * $Id: tiles.c,v 1.1 2003/01/01 15:06:08 hos Exp $
 
2
 * $Id: tiles.c,v 1.2 2006/06/10 10:47:21 ton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
143
143
        return retval;
144
144
}
145
145
 
146
 
/* return 0: One channel texture
147
 
   return 1: RGB texture
148
 
   return 2: Normals texture */
149
 
 
150
 
 
151
146
int plugin_tex_doit(int stype, Cast *cast, float *texvec, float *dxt, float *dyt)
152
147
{
153
148
        float xwave, ywave;
172
167
                else result[0]= ywave-xwave;
173
168
        }
174
169
 
175
 
        return 0;
 
170
        return TEX_INT;
176
171
}