- got rid of secplane_t::fA and fB. All uses could be replaced by other functions.
This commit is contained in:
parent
fc5f98a0be
commit
4e5ba49aca
4 changed files with 10 additions and 19 deletions
|
|
@ -1086,11 +1086,11 @@ bool secplane_t::CopyPlaneIfValid (secplane_t *dest, const secplane_t *opp) cons
|
|||
|
||||
// If the planes do not have matching slopes, then always copy them
|
||||
// because clipping would require creating new sectors.
|
||||
if (fA() != dest->fA() || fB() != dest->fB() || fC() != dest->fC())
|
||||
if (Normal() != dest->Normal())
|
||||
{
|
||||
copy = true;
|
||||
}
|
||||
else if (opp->fA() != -dest->fA() || opp->fB() != -dest->fB() || opp->fC() != -dest->fC())
|
||||
else if (opp->Normal() != -dest->Normal())
|
||||
{
|
||||
if (fD() < dest->fD())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue