Commit Graph

398 Commits

Author SHA1 Message Date
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb 8dbe681143 Fix bug with Collide flag "polyset" and nested <Transform> elements 2015-02-24 23:51:00 +01:00
rdb 79d025e9a8 Fix incorrect transformation of CollisionBox loaded from .egg file 2015-02-09 20:43:04 +01:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb 1082e75d87 Fix more compiler warnings 2014-11-20 00:22:06 +00:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb 87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
David Rose 9a93914d58 properly support a different coordinate system per camera (or lens) 2012-03-14 20:51:58 +00:00
David Rose 683743345a whoopsy 2012-02-01 02:47:26 +00:00
David Rose c67fb27206 support subclassing CollisionNode properly 2012-01-31 23:45:55 +00:00
David Rose 1a4f42706b remove a few epvectors 2011-12-19 18:16:30 +00:00
David Rose 42e8f806f1 leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner 2011-12-19 14:17:26 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 36ca6df75f remove broken six-parameter constructor 2011-12-02 19:08:50 +00:00
David Rose ffa6d1bf16 add pushers-horizontal and make the initial default for CollisionHandlerPusher::set_horizontal() be false. 2011-11-21 15:44:48 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 59ec701a26 build once more with the Tau profiler 2011-09-06 17:29:30 +00:00
David Rose 6335c11050 fix max_dist bug with CollisionBox 2011-08-05 00:07:32 +00:00
rdb bada796a5e nothing interesting to see here, just a bit of cleanup 2011-07-01 11:26:43 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
David Rose 87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
David Rose 33886780c4 Fix tendency of CollisionFloorMesh to introduce NaN's into result 2011-06-02 18:05:48 +00:00
rdb f75eb5e15c oops, fix compile 2011-05-07 14:13:57 +00:00
rdb 1a0bae35b7 correct faulty segment-into-plane collision, adds interior point 2011-05-07 12:25:39 +00:00
rdb e508c07765 Add almost completely useless flip() method 2011-04-01 12:24:08 +00:00
David Rose 97feb6bd97 remove unneeded and troublesome CollisionSolid == CollisionSolid optimization 2011-01-18 22:37:58 +00:00
David Rose 5a635059b6 add CollisionBox::test_intersection_from_segment() from forum user teedee 2010-09-11 08:39:05 +00:00
David Rose 8d69803105 clear_colliders() should clear handlers too 2010-05-25 22:41:23 +00:00
Zachary Pavlov f1cb508349 using a hexy to keep the segment non-axis-aligned 2010-04-28 01:57:32 +00:00
Zachary Pavlov 4930c9a6f2 collision segment that does not extend to an infinite bounding volume 2010-04-27 22:16:41 +00:00
Mark Wojtowicz 822c496f68 Fixed typo in apply_clip_plane() causing only the first plane to be considered. 2010-04-02 23:09:58 +00:00
Darren Ranalli 9a519539dd fixed uninitialized memory bug 2009-12-11 09:58:42 +00:00
Darren Ranalli 9531a23ef1 added legacy mode for Toontown, only throws events for floor that Toon is standing on 2009-12-11 02:16:42 +00:00
Zachary Pavlov efa3af6e46 typos abound 2009-08-13 16:00:00 +00:00
Zachary Pavlov d426b9179f more handler event code 2009-08-12 23:04:07 +00:00
David Rose 3dbd0672f7 fix compilation error (constant integer overflow) 2009-08-11 17:35:48 +00:00
Zachary Pavlov 0c4b08731a some more collision work. A new handler that only passes along the highest entry, as well as a small tweak to the collision gravity handler to ensure that only entries within the ray's bounds are sent 2009-08-11 17:16:07 +00:00
Darren Ranalli 61f4c5c113 fixes determination of earliest collision 2009-08-10 21:26:14 +00:00
Chris Brunner 9350eceee3 added a necessary header 2009-07-31 20:12:19 +00:00
Mike Christel 8278b963bd Added CollisionBox courtesy CMU ETC student Amith Tudur 2009-07-31 18:06:36 +00:00
Gyedo Jeon 5d00f81885 Changed apply_tranform to return false when inverse transforim is invalid 2009-07-07 23:00:06 +00:00
Zachary Pavlov 233bbe6f1e removed 'highest collision only' rule 2009-04-15 21:59:15 +00:00
David Rose bc14778fac fix CollisionVisualizer 2009-04-08 17:53:53 +00:00
Darren Ranalli 509e414ef4 restored horizontal collision mode, still being used 2009-03-30 21:56:41 +00:00
Darren Ranalli 80cb0752bf removed horizontal collision mode and cruft code 2009-03-30 19:02:57 +00:00
David Rose ddbad77851 set_bounds_type() 2009-03-12 21:50:03 +00:00
David Rose 8638f9ff65 fix bug with more than 64K solids 2009-03-06 20:53:24 +00:00