@@ -283,7 +283,7 @@ -(void)setupBlurEffectNodeTest
283
283
effectNode.positionType = CCPositionTypeNormalized;
284
284
effectNode.position = ccp (0.1 , 0.5 );
285
285
[effectNode addChild: sampleSprite];
286
- CCEffectBlur* effect = [CCEffectBlur effectWithPixelBlurRadius :1.0 ];
286
+ CCEffectBlur* effect = [CCEffectBlur effectWithBlurRadius :1.0 ];
287
287
effectNode.effect = effect;
288
288
289
289
[self .contentNode addChild: effectNode];
@@ -297,7 +297,7 @@ -(void)setupBlurEffectNodeTest
297
297
effectNode2.positionType = CCPositionTypeNormalized;
298
298
effectNode2.position = ccp (0.21 , 0.5 );
299
299
[effectNode2 addChild: sampleSprite2];
300
- CCEffectBlur* effect2 = [CCEffectBlur effectWithPixelBlurRadius :7.0 ];
300
+ CCEffectBlur* effect2 = [CCEffectBlur effectWithBlurRadius :7.0 ];
301
301
effectNode2.effect = effect2;
302
302
303
303
[self .contentNode addChild: effectNode2];
@@ -313,7 +313,7 @@ -(void)setupBlurEffectNodeTest
313
313
effectNode3.position = ccp (0.5 , 0.5 );
314
314
effectNode3.anchorPoint = ccp (0.5 , 0.5 );
315
315
[effectNode3 addChild: sampleSprite3];
316
- CCEffectBlur* effect3 = [CCEffectBlur effectWithPixelBlurRadius :1.0 ];
316
+ CCEffectBlur* effect3 = [CCEffectBlur effectWithBlurRadius :1.0 ];
317
317
effectNode3.effect = effect3;
318
318
319
319
[self .contentNode addChild: effectNode3];
@@ -327,7 +327,7 @@ -(void)setupBlurEffectNodeTest
327
327
effectNode4.positionType = CCPositionTypeNormalized;
328
328
effectNode4.position = ccp (0.6 , 0.5 );
329
329
[effectNode4 addChild: sampleSprite4];
330
- CCEffectBlur* effect4 = [CCEffectBlur effectWithPixelBlurRadius :7.0 ];
330
+ CCEffectBlur* effect4 = [CCEffectBlur effectWithBlurRadius :7.0 ];
331
331
effectNode4.effect = effect4;
332
332
333
333
[self .contentNode addChild: effectNode4];
@@ -358,7 +358,7 @@ -(void)setupGlowEffectNodeTest
358
358
glowEffectNode.positionType = CCPositionTypeNormalized;
359
359
glowEffectNode.position = ccp (0.1 , 0.5 );
360
360
[glowEffectNode addChild: sampleSprite];
361
- CCEffectBloom* glowEffect = [CCEffectBloom effectWithPixelBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ];
361
+ CCEffectBloom* glowEffect = [CCEffectBloom effectWithBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ];
362
362
glowEffectNode.effect = glowEffect;
363
363
364
364
[self .contentNode addChild: glowEffectNode];
@@ -385,7 +385,7 @@ -(void)setupGlowEffectNodeTest
385
385
glowEffectNode2.positionType = CCPositionTypeNormalized;
386
386
glowEffectNode2.position = ccp (0.4 , 0.5 );
387
387
[glowEffectNode2 addChild: sampleSprite2];
388
- CCEffectBloom* glowEffect2 = [CCEffectBloom effectWithPixelBlurRadius :2 intensity: 0 .0f luminanceThreshold: 0 .0f ];
388
+ CCEffectBloom* glowEffect2 = [CCEffectBloom effectWithBlurRadius :2 intensity: 0 .0f luminanceThreshold: 0 .0f ];
389
389
glowEffectNode2.effect = glowEffect2;
390
390
391
391
[self .contentNode addChild: glowEffectNode2];
@@ -508,8 +508,8 @@ -(void)setupStackTest
508
508
[self .contentNode addChild: refractEnvironment];
509
509
510
510
NSArray *effects = @[
511
- [CCEffectBlur effectWithPixelBlurRadius :7.0 ],
512
- [CCEffectBloom effectWithPixelBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ],
511
+ [CCEffectBlur effectWithBlurRadius :7.0 ],
512
+ [CCEffectBloom effectWithBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ],
513
513
[CCEffectBrightness effectWithBrightness: 0 .25f ],
514
514
[CCEffectContrast effectWithContrast: 1 .0f ],
515
515
[CCEffectPixellate effectWithBlockSize: 8 .0f ],
@@ -563,8 +563,8 @@ -(void)setupPerformanceTest
563
563
refractEnvironment.scale = 0.5 ;
564
564
565
565
NSArray *allEffects = @[
566
- [CCEffectBlur effectWithPixelBlurRadius :7.0 ],
567
- [CCEffectBloom effectWithPixelBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ],
566
+ [CCEffectBlur effectWithBlurRadius :7.0 ],
567
+ [CCEffectBloom effectWithBlurRadius :8 intensity: 1 .0f luminanceThreshold: 0 .0f ],
568
568
[CCEffectBrightness effectWithBrightness: 0 .25f ],
569
569
[CCEffectContrast effectWithContrast: 1 .0f ],
570
570
[CCEffectPixellate effectWithBlockSize: 4 .0f ],
0 commit comments