Give stars different colours, but keep it barely noticeable.
[gdvolley.git] / src / grunka.cpp
bloba2ace0c7ab87db5cf53c139af66e6b0f2ddd4d7f
1 //
2 // C++ Implementation: grunka
3 //
4 // Description:
5 //
6 //
7 // Author: Öyvind Johannessen <gathers@gmail.com>, (C) 2008
8 //
9 // Copyright: See COPYING file that comes with this distribution
12 #include "grunka.h"
14 grunka::grunka()
19 grunka::~grunka()
24 float grunka::distance_squared(grunka &other)
26 float retval = (xpos - other.xpos) * (xpos - other.xpos) + (ypos - other.ypos) * (ypos - other.ypos);
27 return retval;