Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 26, 2018 9:38 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon May 31, 2010 3:05 pm 
Offline

Joined: Wed May 19, 2010 4:50 pm
Posts: 28
I just spent half an hour scratching my head over why Polygon.contains() doesn't work; well, that's because it isn't implemented. (I eventually had to check the source.)

It *is* implemented in ConvexPolygon, a class I didn't even know about until I searched the whole of slick and phys2d for contains() to see what I could turn up.

So Polygon.contains() should really be abstract instead of just returning false every time.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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