Skip to content

Commit 9b43680

Browse files
author
Thayer J Andrews
committed
CCEffectReflection - Remove unused helper function
1 parent 72eb17f commit 9b43680

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cocos2d/CCEffectReflection.m

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#import "CCEffect_Private.h"
1818
#import "CCSprite_Private.h"
1919

20-
static GLKMatrix4 GLKMatrix4FromAffineTransform(CGAffineTransform at);
21-
2220

2321
@interface CCEffectReflection ()
2422

@@ -219,11 +217,3 @@ -(void)setFresnelPower:(float)power
219217

220218
@end
221219

222-
GLKMatrix4 GLKMatrix4FromAffineTransform(CGAffineTransform at)
223-
{
224-
return GLKMatrix4Make(at.a, at.b, 0.0f, 0.0f,
225-
at.c, at.d, 0.0f, 0.0f,
226-
0.0f, 0.0f, 1.0f, 0.0f,
227-
at.tx, at.ty, 0.0f, 1.0f);
228-
}
229-

0 commit comments

Comments
 (0)