~ubuntu-branches/ubuntu/quantal/aqsis/quantal

« back to all changes in this revision

Viewing changes to shaders/surface/DPProctext.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-08-06 04:53:26 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806045326-z6xeaaao62idxcc6
Tags: 1.6.0-0ubuntu1
* New upstream release
* debian/control:
  - changed name of lib package to libaqsis1 instead of aqsis-libsc2a
  - changed name of dev package to libaqsis-dev instead of aqsis-libs-dev
  - Added aqsis-data package
  - Revised summary text according to that specified by the RISpec (Pixar)
* Moved examples installation from aqsis.install to aqsis-data.install
* debian/rules: 
  - added content to binary-indep target
* debian/rules: added explicit name of mime file to force dh_installmime
  to generate postinst and prerm scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* I took wave's lead and renamed proctexh.h to DPProctext.h -- tal@cs.caltech.edu */
 
2
 
 
3
/*
 
4
 * Preprocessor macros for use in RenderMan shaders.
 
5
 * Darwyn Peachey, June, 1994.
 
6
 */
 
7
 
 
8
#define snoise(x)    (2*noise(x) - 1)
 
9
#define PULSE(a,b,x) (step((a),(x)) - step((b),(x)))
 
10
#define boxstep(a,b,x) clamp(((x)-(a))/((b)-(a)),0,1)