*** empty log message ***
This commit is contained in:
parent
1b08ca6ab1
commit
4a7a4ce0b3
|
@ -23,6 +23,9 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
History
|
History
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.11 2004/12/16 11:21:03 ricciodimare
|
||||||
|
*** empty log message ***
|
||||||
|
|
||||||
Revision 1.10 2004/12/15 18:45:50 tommyfranken
|
Revision 1.10 2004/12/15 18:45:50 tommyfranken
|
||||||
*** empty log message ***
|
*** empty log message ***
|
||||||
|
|
||||||
|
@ -100,13 +103,13 @@ public:
|
||||||
bool IsOrtho(){ return (_flags & ORTHO_BIT);}
|
bool IsOrtho(){ return (_flags & ORTHO_BIT);}
|
||||||
void SetOrtho(bool v, S dist )
|
void SetOrtho(bool v, S dist )
|
||||||
{
|
{
|
||||||
if(v) _flags |= ORTHO_BIT;
|
if(v)
|
||||||
else
|
|
||||||
{
|
{
|
||||||
_flags &= ~ORTHO_BIT;
|
_flags |= ORTHO_BIT;
|
||||||
viewportM = ( ((viewport[0] * s[0]) * (viewport[1] * s[1])) / f ) * dist;
|
viewportM = ( ((viewport[0] * s[0]) * (viewport[1] * s[1])) / f ) * dist;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else _flags &= ~ORTHO_BIT;
|
||||||
|
|
||||||
};
|
};
|
||||||
char & UberFlags() {return _flags;}
|
char & UberFlags() {return _flags;}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue