Liangqian
|
0aca3fb5af
|
Merge pull request #19026 from chargerKong:dualquat
Dual quaternion
* create dual quaternion;
basic operations, functions(exp,log,norm,inv), to/from mat, sclerp.
* add dqb, dqs, gdqb, to/from affine3;
change algorithm of norm, inv, getTranslation, createFromPitch, normalize;
change type translation to Vec3;
comment improve;
* try fix warning: unreferenced local function
* change exp calculation;
add func(obj) operations;
* Change the algorithm of log function;
add assumeUnit in getRotation;
remove dqs;
change std::vector to InputArray
* fix warning: doxygen and Vec<double, 0>
* fix warning: doxygen and Vec<double, 0>
* add inputarray param for gdqb
* change int to size_t
* win cl warning fix
* replace size_t by int at using Mat.at() function
* replace double by float
* interpolation fix
* replace (i, 0) to (i)
* core(quat): exclude ABI, test_dualquaternion=>test_quaternion.cpp
Co-authored-by: arsaratovtsev <arsaratovtsev@intel.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
|
2021-02-17 17:05:08 +00:00 |
|
mtfrctl
|
7de189114b
|
Merge pull request #18547 from mtfrctl:objc-conversions-macosx
Mat conversions for macOS/AppKit
* Extract CoreGraphics conversion logics from ios_conversions.mm to apple_conversions.h, apple_conversions. Add macosx_conversions.mm
* Add macosx.h
* Add Mat+Conversions.h and Mat+Conversions.mm
* Delete duplicated declaration from apple_conversion.mm
* Use short license header
* Add compile guard
* Delete unused imports
* Move precomp.hpp import from header to implementation
* Add macosx.h to skip headers
* Fix compile guard condition
* Use short license header
* Remove commented out unused code
|
2020-10-14 16:58:06 +00:00 |
|