[opengtl-commits] [631] those filters aren't specific to image4 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 631
Author: cyrille
Date: 2009-03-16 11:33:14 +0100 (Mon, 16 Mar 2009)
Log Message:
-----------
those filters aren't specific to image4
Modified Paths:
--------------
trunk/shiva-collections/filters/Bullify.shiva
trunk/shiva-collections/filters/Ripples.shiva
trunk/shiva-collections/filters/Slices.shiva
Modified: trunk/shiva-collections/filters/Bullify.shiva
===================================================================
--- trunk/shiva-collections/filters/Bullify.shiva 2009-03-16 10:23:48 UTC (rev 630)
+++ trunk/shiva-collections/filters/Bullify.shiva 2009-03-16 10:33:14 UTC (rev 631)
@@ -27,7 +27,7 @@
return sqrt( v[0] + v[1] );
}
- void evaluatePixel(image4 img, out pixel4 result)
+ void evaluatePixel(image img, out pixel result)
{
float2 vec = result.coord - center;
float factor = length( vec ) / lightLength;
Modified: trunk/shiva-collections/filters/Ripples.shiva
===================================================================
--- trunk/shiva-collections/filters/Ripples.shiva 2009-03-16 10:23:48 UTC (rev 630)
+++ trunk/shiva-collections/filters/Ripples.shiva 2009-03-16 10:33:14 UTC (rev 631)
@@ -28,7 +28,7 @@
return sqrt( v[0] + v[1] );
}
- void evaluatePixel(image4 img, out pixel4 result)
+ void evaluatePixel(image img, out pixel result)
{
float2 vec = result.coord - center;
float vec_length = length( vec );
Modified: trunk/shiva-collections/filters/Slices.shiva
===================================================================
--- trunk/shiva-collections/filters/Slices.shiva 2009-03-16 10:23:48 UTC (rev 630)
+++ trunk/shiva-collections/filters/Slices.shiva 2009-03-16 10:33:14 UTC (rev 631)
@@ -18,7 +18,7 @@
>;
kernel Ripples
{
- void evaluatePixel(image4 img, out pixel4 result)
+ void evaluatePixel(image img, out pixel result)
{
float x = result.coord.x;
float y = result.coord.y;