naming conventions...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
341ac26401
commit
691be5eec4
|
@ -199,7 +199,7 @@ void VertexShaderManager::SetConstants(bool proj_hax_1, bool proj_hax_2)
|
|||
static float GC_ALIGNED16(g_fProjectionMatrix[16]);
|
||||
|
||||
|
||||
if (xfregs.rawProjection[6] == 0) { // Model View
|
||||
if (xfregs.rawProjection[6] == 0) { // Perspective
|
||||
g_fProjectionMatrix[0] = xfregs.rawProjection[0];
|
||||
g_fProjectionMatrix[1] = 0.0f;
|
||||
g_fProjectionMatrix[2] = xfregs.rawProjection[1];
|
||||
|
@ -252,7 +252,7 @@ void VertexShaderManager::SetConstants(bool proj_hax_1, bool proj_hax_2)
|
|||
SETSTAT_FT(stats.gproj_14, g_fProjectionMatrix[14]);
|
||||
SETSTAT_FT(stats.gproj_15, g_fProjectionMatrix[15]);
|
||||
}
|
||||
else { // Orthogonal
|
||||
else { // Orthographic Projection
|
||||
g_fProjectionMatrix[0] = xfregs.rawProjection[0];
|
||||
g_fProjectionMatrix[1] = 0.0f;
|
||||
g_fProjectionMatrix[2] = 0.0f;
|
||||
|
|
|
@ -337,7 +337,7 @@ void Renderer::SetScissorBox(RECT &rc)
|
|||
void Renderer::SetProjection(float* pMatrix, int constantIndex)
|
||||
{
|
||||
D3DXMATRIX mtx;
|
||||
if (pMatrix[6] == 0) // Model View
|
||||
if (pMatrix[6] == 0) // Perspective
|
||||
{
|
||||
mtx.m[0][0] = pMatrix[0];
|
||||
mtx.m[0][1] = 0.0f;
|
||||
|
@ -361,7 +361,7 @@ void Renderer::SetProjection(float* pMatrix, int constantIndex)
|
|||
mtx.m[3][2] = -1.00000011921f;
|
||||
mtx.m[3][3] = 0.0f;
|
||||
}
|
||||
else // Orthogonal
|
||||
else // Orthographic Projection
|
||||
{
|
||||
mtx.m[0][0] = pMatrix[0];
|
||||
mtx.m[0][1] = 0.0f;
|
||||
|
|
Loading…
Reference in New Issue