2 // C++ Implementation: grunka
7 // Author: Öyvind Johannessen <gathers@gmail.com>, (C) 2008
9 // Copyright: See COPYING file that comes with this distribution
24 float grunka::distance_squared(grunka
&other
)
26 float retval
= (xpos
- other
.xpos
) * (xpos
- other
.xpos
) + (ypos
- other
.ypos
) * (ypos
- other
.ypos
);