Skip to content

Commit cd5724c

Browse files
author
Thayer J Andrews
committed
CCEffects - Documentation fixes
1 parent a6e961c commit cd5724c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cocos2d/CCEffectGlass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949
@property (nonatomic) CCSprite *refractionEnvironment;
5050

51-
/** The environment that will be refracted by the affected node. Typically this is a sprite
51+
/** The environment that will be reflected by the affected node. Typically this is a sprite
5252
* that is not visible in the scene as it is conceptually "behind the viewer" and only visible
5353
* where reflected by the affected node.
5454
*/

cocos2d/CCEffectReflection.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@
88

99
#import "CCEffect.h"
1010

11+
12+
/**
13+
* CCEffectReflection uses reflection to simulate the appearance of a shiny object contained within
14+
* an environment. Reflection is controlled with two fresnel reflectance values, the normal map, and
15+
* a reflection environment sprite.
16+
*
17+
*/
1118
@interface CCEffectReflection : CCEffect
1219

1320
/// -----------------------------------------------------------------------
1421
/// @name Accessing Effect Attributes
1522
/// -----------------------------------------------------------------------
1623

17-
/** The environment that will be refracted by the affected node. Typically this is a sprite
24+
/** The environment that will be reflected by the affected node. Typically this is a sprite
1825
* that is not visible in the scene as it is conceptually "behind the viewer" and only visible
1926
* where reflected by the affected node.
2027
*/

0 commit comments

Comments
 (0)