I have seen the comment—“//”whole screen" objects. like Scenes and Layers, should set m_bIgnoreAnchorPointForPosition to false, m_bIgnoreAnchorPointForPosition(false)" in CCNode.cpp. But i find m_bIgnoreAnchorPointForPosition is set to true in CCLayer’s constructor. why set m_bIgnoreAnchorPointForPosition to true since the document suggests false?
I’m confused with following codes:
x = m_tAnchorPointInPoints.x;
I think we should change the name of m_bIgnoreAnchorPointForPosition to m_bNeedAnchorPointForPosition if we add the anchor point’s position to x,y.
And now, i am confused with m_bIgnoreAnchorPointForPosition. what’s the function of m_bIgnoreAnchorPointForPosition?