[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Code: Center of Triangle



Yeah, shouldn't it be math.sqrt(dist)?

Although you might want to just return the distance^2 so the user can decide whether a sqrt is necessary or not.