- use typedefs for TVector<double> etc.
(Better have this out of the way before messing around with this stuff...)
This commit is contained in:
parent
2e588c2099
commit
f8ebfb541e
23 changed files with 72 additions and 67 deletions
|
|
@ -1700,8 +1700,8 @@ static bool sv_compare(vissprite_t *a, vissprite_t *b)
|
|||
// the viewpoint.
|
||||
static bool sv_compare2d(vissprite_t *a, vissprite_t *b)
|
||||
{
|
||||
return TVector2<double>(a->deltax, a->deltay).LengthSquared() <
|
||||
TVector2<double>(b->deltax, b->deltay).LengthSquared();
|
||||
return DVector2(a->deltax, a->deltay).LengthSquared() <
|
||||
DVector2(b->deltax, b->deltay).LengthSquared();
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue