mirror of https://github.com/axmolengine/axmol.git
Merge branch 'gles20' of https://github.com/dumganhar/cocos2d-x into gles20
This commit is contained in:
commit
4c7fe7c917
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
// http://www.cocos2d-iphone.org
|
||||
|
||||
attribute vec4 a_position;
|
||||
|
||||
uniform mat4 u_MVPMatrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_MVPMatrix * a_position;
|
||||
}
|
|
@ -1 +1 @@
|
|||
eb7dd21e7b4067a99d2106e2c4713caf43cb1064
|
||||
27262a27cf46748c95185438b536e5ba4b6a7a44
|
|
@ -1170,7 +1170,7 @@ void BitmapFontMultiLineAlignment::ccTouchesMoved(cocos2d::CCSet *pTouches, coco
|
|||
this->m_pArrowsShouldRetain->setPosition(ccp(MAX(MIN(location.x, ArrowsMax*winSize.width), ArrowsMin*winSize.width),
|
||||
this->m_pArrowsShouldRetain->getPosition().y));
|
||||
|
||||
float labelWidth = abs(this->m_pArrowsShouldRetain->getPosition().x - this->m_pLabelShouldRetain->getPosition().x) * 2;
|
||||
float labelWidth = fabs(this->m_pArrowsShouldRetain->getPosition().x - this->m_pLabelShouldRetain->getPosition().x) * 2;
|
||||
|
||||
this->m_pLabelShouldRetain->setWidth(labelWidth);
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue