rdb
|
f27e9b2a86
|
linmath: Add __rmul__ operator for left scalar multiplication
Fixes #1048
|
2021-07-05 14:16:55 +02:00 |
Sam Edwards
|
7790f8429d
|
general: Fully qualify header references into the std namespace
Closes #341
|
2018-06-07 10:35:12 +02:00 |
rdb
|
9fad3dba60
|
general: remove macros for compatibility with non-C++11 compilers
Now that we require MSVC 2015, we no longer need all this nonsense, so we can write cleaner code.
|
2018-05-23 23:33:05 +02:00 |
tobspr
|
0fcfb8e372
|
New file headers, new comment style
|
2016-02-17 17:47:48 +01:00 |
tobspr
|
8dfef99915
|
Fix swizzle masks on vector types
|
2016-02-07 19:45:01 +01:00 |
tobspr
|
a9e18f9d24
|
Improve Vector implementations: - Remove unecessary assignment operators - Add normalize() method - Use properties for certain swizzle masks - Add constexpr where appropriate
|
2016-01-03 22:02:00 +01:00 |
rdb
|
8ecf6a7b9f
|
Fix getattr() and hasattr() of vector classes when invalid attribute name is used
|
2015-06-21 15:33:42 +02:00 |
rdb
|
3371df8403
|
Fix tp_compare, better __repr__/__str__ handling
|
2015-03-25 19:36:35 +01:00 |
rdb
|
5dae464394
|
Add integer vectors. Also add __pow__ operator to vectors.
|
2014-06-11 18:01:50 +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
|
42e8f806f1
|
leave lvecbase2/3 and lmatrix3 unaligned; it's so much cleaner
|
2011-12-19 14:17:26 +00:00 |
David Rose
|
fd75c89949
|
whoops, overloaded LINMATH_ALIGN by mistake
|
2011-12-18 02:03:58 +00:00 |
David Rose
|
33b9a1e1cf
|
integrate Eigen
|
2011-12-16 14:17: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
|
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 |
David Rose
|
12cc0232fc
|
add LVecBase3::project, etc., suggested by nik
|
2009-04-10 18:32:38 +00:00 |
David Rose
|
fb9c56432a
|
we are now using the modified BSD license
|
2008-05-28 18:37:20 +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
|
09878b64b0
|
use python_repr() to make linmath pickleable
|
2005-09-14 00:09:18 +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
|
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 |
cxgeorge
|
23c5d85166
|
hand-optimize linmath, force inlining
|
2001-04-28 02:58:58 +00:00 |
David Rose
|
ee8db5b5b5
|
*** empty log message ***
|
2001-04-04 21:40:58 +00:00 |