Commit Graph

56 Commits

Author SHA1 Message Date
rdb 3daf1ae1b1 general: Assorted API reference fixes 2020-09-09 18:03:49 +02:00
rdb cc4d5259cc linmath: fix mat4.get_col3() and mat4.get_row3() when using Eigen 2019-05-02 19:40:23 +02:00
rdb 371c34d13b linmath: allow constructing matrix from rows
This also enables using mat[n] wherever an LVecBase4 is accepted, as well as Mat4(*mat).
2018-08-19 16:42:36 +02:00
rdb 0281f306e1 express: add PointerToArray.count() 2017-12-24 15:09:21 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 920210c999 Fix the vast majority of Interrogate parse issues and warnings, add support for inline namespace and constexpr 2015-10-16 14:57:40 +02:00
rdb b5a49efc2e Merge branch 'master' into interrogate-overhaul 2015-01-07 19:34:15 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb 5aaaf72851 Fix issue with Eigen when matrix determinant is nearly 0
also fix error message for singular matrix
2014-12-10 16:32:04 +01:00
rdb 52a4278b80 Fix cwiseProduct compile error when building with Eigen 2014-10-29 12:20:22 +00:00
David Rose 5d5150c5aa componentwise_mult() 2014-10-28 21:46:15 +00:00
David Rose 29e5d74613 LMatrix4::xform_point_general_in_place() 2012-03-28 00:12:56 +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 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 49c1710712 add no-singular-invert 2011-07-27 18:12:15 +00:00
rdb c32b599370 Port linmath classes to the new extension system 2011-01-03 09:02:23 +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
Josh Yelon ec4e8cdab5 Added fast functions to construct all-zero and all-ones matrices 2008-01-25 03:37:14 +00:00
David Rose fb973c9cfd Add LMatrix*::xform_vec_general(), fix clip plane issues 2007-08-23 16:24:49 +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 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
David Rose 948278ee43 fix short-circuit of non-affine invert computation 2004-12-14 01:59:42 +00:00
David Rose 67b9dc9367 better message for singular invert assertion 2004-11-21 17:49:57 +00:00
David Rose 3e548e3663 new interrogate, minor config changes 2004-10-28 18:33:45 +00:00
David Rose dbb24d9cc9 phash_map, etc. 2004-10-02 05:07:16 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 344ca11ffd add explicit support for shear to the scene graph 2003-07-23 23:03:04 +00:00
David Rose 5808fe2b1f add shear_mat 2003-07-23 01:22:37 +00:00
David Rose d3c5b53c40 restore assertions 2002-10-03 20:19:00 +00:00
cxgeorge da9b315099 avoid name collisions with stlport 2001-12-10 02:52:47 +00:00
David Rose 07a7224e2d oops with invert_from() 2001-07-13 21:08:24 +00:00
David Rose 2f4e207edb Update copyright header 2001-05-25 21:27:38 +00:00
David Rose fcb24f02ef remove tab characters 2001-05-25 15:56:49 +00:00
David Rose b06ef3bb0d omitted definition for new get_row() 2001-05-24 16:18:46 +00:00
cxgeorge fb6ca6a160 many micro-optimizations 2001-05-24 02:55:11 +00:00
cxgeorge 80a12dbe26 add alternate rotate_mat 2001-05-21 04:24:29 +00:00
David Rose 57b4db99c5 *** empty log message *** 2001-05-14 22:10:12 +00:00
David Rose 9709248862 *** empty log message *** 2001-05-02 00:33:16 +00:00
cxgeorge efd47a12f1 add rotate_mat_normaxis 2001-05-02 00:05:13 +00:00
cxgeorge ed6aa9f28d another hack 2001-05-01 23:31:29 +00:00
cxgeorge dd5e676818 small rotate opts 2001-05-01 23:23:04 +00:00
cxgeorge 3bdc06ac3d small rotate opts 2001-05-01 23:19:17 +00:00
cxgeorge e35131d20b fix rotate_mat to normalize axis 2001-04-30 19:06:26 +00:00
David Rose 61ecfd7e6d *** empty log message *** 2001-04-30 16:56:30 +00:00
David Rose c4a8d6e24b *** empty log message *** 2001-04-30 16:49:58 +00:00