Commit Graph

195 Commits

Author SHA1 Message Date
rdb 70f73a5ea1 linmath no longer depends on putil 2014-08-20 19:39:13 +00:00
David Rose e7fd70c2bc fix some build issues on windows/ppremake 2014-07-01 17:42:24 +00:00
rdb 5dae464394 Add integer vectors. Also add __pow__ operator to vectors. 2014-06-11 18:01:50 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb f867ea701d sorry for the newlines 2013-09-18 15:52:36 +00:00
rdb cc3bae7e76 Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support 2013-09-17 10:11:43 +00:00
David Rose 29e5d74613 LMatrix4::xform_point_general_in_place() 2012-03-28 00:12:56 +00:00
David Rose 19ddfa1ba2 fix several coordinate system issues 2012-03-14 16:29:05 +00:00
David Rose 651a95df40 format_coordinate_system() 2012-02-04 00:04:29 +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 fd75c89949 whoops, overloaded LINMATH_ALIGN by mistake 2011-12-18 02:03:58 +00:00
David Rose 787742c93e LINMATH_VECTORIZE -> LINMATH_ALIGN 2011-12-18 02:00:31 +00:00
David Rose 6824cb6928 better implementation of vertex-column-alignment 2011-12-17 23:08:03 +00:00
David Rose 33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
rdb 53835b541d allow swizzling of higher-dimension vectors from lower-dimension ones (eg vec2.xyxy) 2011-11-25 11:35:38 +00:00
David Rose 8ebd82fbcc support cross-compatibility of 32-bit and 64-bit bam files 2011-10-31 22:24:35 +00:00
David Rose 65e9303415 attempts to fix win32 build 2011-10-11 15:41:53 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 5158b9b5bf remove vector_LVecBase3f to avoid opt4 linking issue 2011-08-12 23:16:17 +00:00
David Rose 49c1710712 add no-singular-invert 2011-07-27 18:12:15 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
rdb 61cfd40824 fix an oops 2011-06-03 09:11:12 +00:00
rdb 99ef646132 Remove the treacherous NDEBUG markers 2011-03-11 19:58:48 +00:00
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