Changeset 17274 for lang/actionscript/ashaardetect/trunk/cv/RectPool.as
- Timestamp:
- 08/08/08 23:38:39 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/ashaardetect/trunk/cv/RectPool.as
r17214 r17274 42 42 } 43 43 44 public function mapRect(f:Function):void 45 { 46 for each(var rd:RectData in mPool) 47 { 48 if (rd.ttl >= 1) 49 f(rd.showPos, rd.alpha); 50 } 51 } 52 44 53 private static function filt_func(item:*, index:int, array:Array):Boolean 45 54 { … … 72 81 rc2[3] += rc2[1]; 73 82 for (k = 0;k < 4;k++) 74 rc2[k] += (rc1[k] - rc2[k]) * 0. 4;83 rc2[k] += (rc1[k] - rc2[k]) * 0.7; 75 84 rc1[2] -= rc1[0]; 76 85 rc1[3] -= rc1[1];
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)