diff -r 8a21bec5d45f -r e4e7db2435f8 front_processing/src/Smoke_manipulation/vbuffer.pde --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/front_processing/src/Smoke_manipulation/vbuffer.pde Thu Mar 22 16:00:17 2012 +0100 @@ -0,0 +1,34 @@ +/* +* This file is part of the TraKERS\Front Processing package. +* +* (c) IRI +* +* For the full copyright and license information, please view the LICENSE_FRONT +* file that was distributed with this source code. +*/ + +class vbuffer +{ + int x; + int y; + float xvel; + float yvel; + float pressurex = 0; + float pressurey = 0; + float pressure = 0; + + vbuffer(int xIn,int yIn) { + x = xIn; + y = yIn; + pressurex = 0; + pressurey = 0; + } + + void updatebuf(int i, int u) { + if(i>0 && i0 && u