enable the previously disabled "Sphere" patch primitive

git-svn-id: svn://svn.icculus.org/netradiant/trunk@390 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent
2009-07-24 23:18:20 +00:00
parent e23ea7ea7d
commit a2eceb0f18
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -1336,7 +1336,7 @@ void Patch::ConstructPrefab(const AABB& aabb, EPatchPrefab eType, int axis, std:
{
pCtrl->m_vertex[0] = vPos[1][0];
pCtrl->m_vertex[1] = vPos[1][1];
pCtrl->m_vertex[2] = vPos[2][2];
pCtrl->m_vertex[2] = vPos[0][2];
}
}
{
@@ -1348,6 +1348,7 @@ void Patch::ConstructPrefab(const AABB& aabb, EPatchPrefab eType, int axis, std:
pCtrl->m_vertex[2] = vPos[2][2];
}
}
break;
default:
ERROR_MESSAGE("this should be unreachable");
return;