renderer_opengl.cpp: improved alignment for readability
This commit is contained in:
parent
1c02c03e32
commit
81baa477b5
|
@ -23,7 +23,7 @@ static const GLfloat kBottomScreenWidthNormalized = kTopScreenWidthNormalized *
|
||||||
static const GLfloat kBottomScreenHeightNormalized = kBottomScreenWidthNormalized * (static_cast<float>(VideoCore::kScreenBottomHeight) / VideoCore::kScreenBottomWidth);
|
static const GLfloat kBottomScreenHeightNormalized = kBottomScreenWidthNormalized * (static_cast<float>(VideoCore::kScreenBottomHeight) / VideoCore::kScreenBottomWidth);
|
||||||
|
|
||||||
static const GLfloat g_vbuffer_top[] = {
|
static const GLfloat g_vbuffer_top[] = {
|
||||||
// x, y, z u, v
|
// x, y z u v
|
||||||
-1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
|
-1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
|
||||||
1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
|
1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
|
||||||
1.0f, kTopScreenHeightNormalized, 0.0f, 1.0f, 0.0f,
|
1.0f, kTopScreenHeightNormalized, 0.0f, 1.0f, 0.0f,
|
||||||
|
@ -33,7 +33,7 @@ static const GLfloat g_vbuffer_top[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GLfloat g_vbuffer_bottom[] = {
|
static const GLfloat g_vbuffer_bottom[] = {
|
||||||
// x, y, z u, v
|
// x y z u v
|
||||||
-(kBottomScreenWidthNormalized / 2), -kBottomScreenHeightNormalized, 0.0f, 0.0f, 1.0f,
|
-(kBottomScreenWidthNormalized / 2), -kBottomScreenHeightNormalized, 0.0f, 0.0f, 1.0f,
|
||||||
(kBottomScreenWidthNormalized / 2), -kBottomScreenHeightNormalized, 0.0f, 1.0f, 1.0f,
|
(kBottomScreenWidthNormalized / 2), -kBottomScreenHeightNormalized, 0.0f, 1.0f, 1.0f,
|
||||||
(kBottomScreenWidthNormalized / 2), 0.0f, 0.0f, 1.0f, 0.0f,
|
(kBottomScreenWidthNormalized / 2), 0.0f, 0.0f, 1.0f, 0.0f,
|
||||||
|
|
Reference in New Issue