Slick Forums

Discuss the Slick 2D Library
It is currently Tue May 21, 2013 9:58 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Sep 07, 2008 1:01 am 
Offline
Oldbie

Joined: Tue Jun 17, 2008 5:11 pm
Posts: 336
There seems to be something wrong with the Circle class' bounding spheres. Try the following code:

Code:
Circle c = new Circle(320, 240, 10);
System.out.println(c.getBoundingCircleRadius()); // prints 0 on my machine...


Presumably the correct output is 10? It looks like the code is executing the Shape.checkPoints method which starts by initializing the bounding radius to zero.

I'm running revision 1054.

_________________
My website about game development http://anotherearlymorning.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 6:55 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Fixed in SVN

Kev


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group