Commit graph

67 commits

Author SHA1 Message Date
Gered f974236432 change to/from ellipsoid space methods to regular instance methods so we don't have to pass an ellipsoid radius every time 2013-09-30 04:32:08 -04:00
Gered d1d4350ac1 uhh... screw it -- lots of fixes
Work in progress code from a couple weeks ago that I just picked up
again today, don't feel like listing everything out separarely.
2013-09-30 04:21:17 -04:00
Gered 625d9e0514 checkForCollisions should return a boolean to simply indicate if a collision was found or not 2013-09-30 03:22:23 -04:00
Gered fa3debbe17 minor changes that don't really affect anything 2013-09-30 03:21:29 -04:00
Gered fa6f1a07a4 update floating-point comparison
using method detailed in http://realtimecollisiondetection.net/blog/?p=89
2013-09-29 23:03:43 -04:00
Gered c85410b885 refactor a bit (merge swept sphere entity and packet classes) 2013-09-14 22:45:21 -04:00
Gered 705f0fab36 add initial unoptimized implementation of the generic swept-sphere collision and response handling system 2013-09-14 22:21:21 -04:00
Gered 513eff7cb5 add helper to specifically set a vector's length along it's direction 2013-09-14 22:20:43 -04:00
Gered 05dd4a1de0 move swept-sphere collision test into it's own class
It's not quite a 'generic' as the other intersection tests and is kind
of lengthy, so would rather the code be more standalone.
2013-09-14 20:08:09 -04:00
Gered 31efacf9a2 not really much point to the use of 'final' here... 2013-09-14 17:36:03 -04:00
Gered 79bae46cb1 add swept-sphere collision check implementation 2013-09-14 17:33:54 -04:00
Gered b2882c44e0 update intersection tests and add other remaining methods 2013-09-14 17:20:00 -04:00
Gered 228cdd89b2 add service locator 2013-09-14 14:44:43 -04:00
Gered c0baa42ff6 add entity preset support 2013-09-14 14:18:57 -04:00
Gered 79b027b024 clean up some cases where pooled objects weren't being freed 2013-09-14 13:59:13 -04:00
Gered 14e58aad5e add bitfield methods to embed/extract smaller values from a larger value 2013-09-14 13:44:08 -04:00
Gered King 823d940f55 Create README.md 2013-08-10 10:34:40 -04:00
Gered 20d2603270 add missing call to tick events 2013-08-06 22:28:56 -04:00
Gered 06f6536cbd add EventListener type name to logging output when adding/removing listeners 2013-08-06 21:43:07 -04:00
Gered 19db093c13 remove all global components when disposing of EntityManager 2013-08-05 13:29:38 -04:00
Gered 61a51d4fb7 ComponentSystem and EntityManager now implement Disposable to allow easier subclass resource cleanup 2013-08-04 18:55:41 -04:00
Gered cdb765724e fix remaining space calculation
This was ported from some C/C++ code that I think was doing it this way
for a specific (and probably silly) reason which might not apply anymore.
2013-07-21 17:17:06 -04:00
Gered 5cc58defb8 proper cleanup 2013-07-20 11:41:32 -04:00
Gered d114f5bb9c little bit of javadoc explaining intended usage of TextureAtlasAnimator 2013-07-20 11:18:30 -04:00
Gered aff54c9c1d add TextureAtlasAnimator 2013-07-20 11:14:20 -04:00
Gered bb516baa2f add a helper method copy of Texture.draw() that doesn't restrict to only managed Texture objects 2013-07-20 09:56:23 -04:00
Gered ec94bafd03 fix some calls to the incorrect method overload. oops! 2013-07-20 09:50:26 -04:00
Gered c34d173180 add TextureAtlas loader helper class to handle json loading 2013-07-18 09:02:49 -04:00
Gered 69c65637f9 add "addGrid" method to CustomGridTextureAtlas to auto-add tiles in a grid layout 2013-07-18 09:02:27 -04:00
Gered 54823cd804 add json config POJOs 2013-07-18 09:02:05 -04:00
Gered a8d51f6ed1 move texture atlas classes to their own package 2013-07-18 08:47:33 -04:00
Gered 59978e1521 add a few more handy overloads for texture coordinate range scaling 2013-07-16 17:45:29 -04:00
Gered 1823fdd8d7 add some bounding volume "to/from scale factor" helper methods 2013-07-16 15:33:08 -04:00
Gered 323af1c2fb add Vertices class 2013-07-16 11:08:39 -04:00
Gered 0dacf1eea1 add texture coordinate scaling helper methods 2013-07-15 19:09:25 -04:00
Gered 8de3d0fba3 add some more math helpers and fill in some gaps in libgdx's intersection test support 2013-07-11 18:38:35 -04:00
Gered fcdf2d9111 add bitfield helper class 2013-07-11 16:48:51 -04:00
Gered e64a96fdd8 RenderContext now has two debug ShapeRenderers for 2d and 3d geometry 2013-07-09 23:16:46 -04:00
Gered b01c055c61 add simple "built-in" shaders (inline vertex+fragment sources) 2013-07-09 23:16:21 -04:00
Gered e54afde445 update direction field when rotation fields are recalculated
This is mainly to help maintain compatibility with other existing code
that may use this.
2013-07-09 22:22:59 -04:00
Gered b324663f10 update RenderContext 2013-07-09 22:16:01 -04:00
Gered f623a1f883 BillboardSpriteBatch now manages it's own DecalBatch instance
DecalBatch doesn't really contain too many useful properties/methods
by itself which really warrant having both of these objects being
managed separately
2013-07-09 22:15:38 -04:00
Gered a685be02fb ExtendedSpriteBatch now provides a begin() overload that needs to be used to set a projection camera instead of the old setter method. also begin() now resets the tint color 2013-07-08 18:04:20 -04:00
Gered b4b83c84d6 switch to using ExtendedSpriteBatch everywhere instead of DelayedSpriteBatch
this makes more sense in the long run as a number of other libgdx 2d
graphics systems and extensions use SpriteBatch. relying on our own
DelayedSpriteBatch for all 2d rendering would just complicate things.
DelayedSpriteBatch may prove useful later on, so we'll keep it for now
2013-07-08 17:56:28 -04:00
Gered 93b0307dfc add ExtendedSpriteBatch 2013-07-08 17:41:43 -04:00
Gered 05fdf3f4c4 imports cleanup 2013-07-07 18:41:20 -04:00
Gered e4ad88abc8 fix some camera properties not being used/reset in RenderContext 2013-07-07 18:38:26 -04:00
Gered 31809c6586 add EulerPerspectiveCamera 2013-07-07 18:38:08 -04:00
Gered 782e796820 graphics helper (mostly debug stuff) 2013-07-07 17:18:30 -04:00
Gered dd0d578f03 math function tweaking 2013-07-07 17:10:29 -04:00