changed draw in flatwire....
This commit is contained in:
parent
cc537cd0dc
commit
d4af2821e3
|
@ -86,7 +86,7 @@ void _DrawFlatWire(){
|
||||||
glDisable(GL_LIGHTING);
|
glDisable(GL_LIGHTING);
|
||||||
glColor3f(0.0,0.0,0.0);
|
glColor3f(0.0,0.0,0.0);
|
||||||
glDepthRange(0.0,0.999);
|
glDepthRange(0.0,0.999);
|
||||||
Draw<DMWire,nm,cm>();
|
Draw<DMHidden,nm,cm>();
|
||||||
glPopAttrib();
|
glPopAttrib();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,6 +122,7 @@ void _DrawTetra(TetraType &t)
|
||||||
{
|
{
|
||||||
if(!(t.IsD()))
|
if(!(t.IsD()))
|
||||||
{
|
{
|
||||||
|
if ((dm!=DMWire)&&(dm!=DMHidden))
|
||||||
_ChooseColorTetra<cm>(t);
|
_ChooseColorTetra<cm>(t);
|
||||||
for(int i = 0; i < 4; ++i){
|
for(int i = 0; i < 4; ++i){
|
||||||
if (dm == DMWire)
|
if (dm == DMWire)
|
||||||
|
|
Loading…
Reference in New Issue