summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-02-22 03:49:50 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-02-22 03:49:50 +0000
commit691be5eec4e412a6eb07069cd67e8e627ce37057 (patch)
tree6aeea4a61e35d0c873b7bc4d9b3297e779e2e29b /Source
parent341ac2640124f0997e9dbfc48e49d910897e0dc4 (diff)
naming conventions...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderManager.cpp4
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/Render.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
index 4d7eb3ed92..70a30c6f1c 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
@@ -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;
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
index 6b4aa533a4..5ebc684fb2 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
@@ -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;