Commit Graph

169 Commits

Author SHA1 Message Date
rdb 768dc99607 Fixes from constantexpected 2011-02-20 15:48:48 +00:00
rdb c32b599370 Port linmath classes to the new extension system 2011-01-03 09:02:23 +00:00
rdb defc9bf266 Add swizzling/write masks to the Point classes. Also, use the PySequence interface for write masks. Although totally pointless, I can now do v.xy = ['inf', 'nan'] or v.wxzyw = range(5) . 2010-12-23 21:48:50 +00:00
rdb eafad905c5 fix compile error with python 2.5 (that doesn't have PyType_TYPE) 2010-12-21 19:37:20 +00:00
rdb 8cd721b150 Write masks and swizzle masks for all vecbase and vector classes (e.g. ability to do v.xy *= 1.5 or v.wz = Vec2(1, 2) and stuff) 2010-12-21 11:09:43 +00:00
rdb e1347210f6 Swizzle masks for LVecBase* (ability to access components as properties like vec.x, but also like vec.xyz or vec.zyxw in any order). I'll do write masks tomorrow or so 2010-12-20 21:49:29 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
David Rose 816ddc0387 low-level support for python copy and pickle modules 2009-12-10 01:09:06 +00:00
David Rose aee00fc3de pstrtod 2009-06-14 16:27:44 +00:00
David Rose 172171eec4 more iphone work 2009-04-21 00:48:51 +00:00
David Rose 12cc0232fc add LVecBase3::project, etc., suggested by nik 2009-04-10 18:32:38 +00:00
David Rose 812356e83d deprecate relative_angle_deg, add signed_angle_deg 2009-03-14 20:42:24 +00:00
David Rose 26d832b486 fix compiler warnings 2008-11-10 20:23:40 +00:00
David Rose 58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 0fe487d9ec support explicit default constructors for linmath 2008-03-26 00:04:45 +00:00
Josh Yelon ec4e8cdab5 Added fast functions to construct all-zero and all-ones matrices 2008-01-25 03:37:14 +00:00
Zachary Pavlov d740e018b5 proper panda centri right hand rule angle check 2007-10-06 01:24:44 +00:00
Zachary Pavlov a181b41465 potential angle improvement for vector to vector checks) 2007-10-04 04:38:49 +00:00
David Rose fb973c9cfd Add LMatrix*::xform_vec_general(), fix clip plane issues 2007-08-23 16:24:49 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose fc9f9fe225 whoopsy, forgot to init part of the matrix 2007-06-01 05:38:44 +00:00
David Rose 33a0c3af8e replacing CullBinOcclusionTest with PipeOcclusionCullTraverser, some linmath optimizations 2007-05-31 21:17:50 +00:00
David Rose a7afebd785 remove bogus comment 2006-10-14 23:04:11 +00:00
David Rose a5f3e3f539 update comments 2006-09-13 01:17:30 +00:00
David Rose e8329c6988 minor change to comment 2006-08-18 21:10:46 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
Dave Schuyler 2e3ca066dc formatting 2006-03-28 03:51:09 +00:00
Roger Hughston 477fdc8775 OSX Commit 2006-03-17 22:57:38 +00:00
Dave Schuyler b015f6ff7a add_impact 2006-03-11 06:34:19 +00:00
Dave Schuyler c686acd92d added lvec4 cast 2006-03-11 00:14:09 +00:00
Dave Schuyler 7492d74426 added conjugate, changed var name, added 4-d rotation 2006-02-18 02:12:08 +00:00
Roger Hughston 8065be4f57 More Motion in osx Land 2006-02-10 20:13:14 +00:00
Josh Yelon 947294fe99 Added fmax and fmin operators to vector 2006-02-07 20:18:07 +00:00
David Rose b8b1e3d87e properly cast new operator * return values 2006-02-03 19:28:53 +00:00
Dave Schuyler 5ae60423ec added multiply by scalar 2006-02-02 23:25:29 +00:00
Dave Schuyler 1e5469d22f formatting 2006-01-20 01:42:29 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
Josh Yelon 9729541f63 Added macrocomposites 2005-09-27 22:05:52 +00:00
David Rose 632bc8adef remove incorrect INLINE 2005-09-15 22:08:43 +00:00
David Rose 09878b64b0 use python_repr() to make linmath pickleable 2005-09-14 00:09:18 +00:00
David Rose 314630126f regularize cube map coordinate systems 2005-07-21 18:09:30 +00:00
David Rose ae4051cef8 add 3-d texture coordinates to egg syntax 2005-07-20 21:54:24 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
Roger Hughston 63290756fe *** empty log message *** 2005-05-23 21:04:31 +00:00
David Rose ace4407e7e regularize length of comment slashes 2005-05-19 00:22:28 +00:00
David Rose 34e47c5504 make normalize() and length() methods on LVecBase3f instead of just LVector3f 2005-04-27 13:46:59 +00:00
David Rose eacf0ccd13 fix paranoid-hpr-quat in non-standard coordinate systems 2005-03-04 22:18:38 +00:00
David Rose 0c519fbc4f fix quat::get_hpr(), set_hpr() in non-standard coordinate systems 2005-03-04 21:29:33 +00:00
David Rose c369b680b7 remove unused variable reference 2005-02-25 18:49:05 +00:00