Commit Graph

442 Commits

Author SHA1 Message Date
nico 3b9e18cf4f corrected one Invert call to Inverse in line 215 2021-11-27 07:36:58 +11:00
alemuntoni 341148b961 fix matrix44, remove memset from octree.h 2021-10-19 14:16:53 +02:00
alemuntoni da77800d02 remove memset from simple_temporary_data and matrix44, remove old_matrix 2021-10-19 12:45:05 +02:00
alemuntoni cfe0511f35 const getFovFromFocal in shot.h 2021-07-13 12:36:04 +02:00
Luigi Malomo 290ac7a027 bugfix rotation from between 2 vectors 2021-05-07 17:25:34 +02:00
Luigi Malomo a41a1fb8dc Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel 2021-03-29 10:09:26 +02:00
Luigi Malomo 608e15562b improved π precision 2021-03-29 10:08:41 +02:00
alemuntoni ad75e35593 codespell - see #92 2021-03-25 15:19:14 +01:00
alemuntoni f1fce45d92 toEigenMatrix functions matrix33 and matrix44 2021-01-21 14:45:05 +01:00
Luigi Malomo c4cb66234b minor changes to RotationMatrix of Matrix33 2021-01-10 02:04:04 +01:00
alemuntoni 62f16491ea missing include 2020-09-18 16:42:56 +02:00
alemuntoni 5b6d6ec767 first non-working align_pair sample 2020-06-01 10:13:19 +02:00
alemuntoni fdb994ddd8 removed unuseful matrix44 copy constructor 2020-05-12 18:04:54 +02:00
alemuntoni f7871eed2d bugfixes and PR template 2020-04-17 16:44:23 +02:00
T.Alderighi 0cfeda19c1 fix bug on rotationmatrix computation corner case 2019-11-21 17:14:34 +01:00
Luigi Malomo 303c4d14b5 minor changes 2019-11-21 17:08:15 +01:00
nico eab154fca5 solved one numerical issue in RotationMatrix 2019-05-04 22:28:28 +10:00
nico 5ea07c4ada added ByPoint quadric initialization 2018-12-01 07:03:06 +11:00
T.Alderighi 1016587ead typo 2018-11-12 14:36:55 +01:00
T.Alderighi 6243f9a8ac small bug in clampedlerp not updating the local lambda value to the clamped one + added some constness 2018-11-12 14:31:27 +01:00
Marco Callieri 25374bd85a warning removal 2018-02-16 11:30:18 +01:00
Paolo Cignoni 38ca45f71d Templated the scalar in the quaternion to matrix helpers 2017-10-03 16:17:42 +02:00
nico 9a20565687 templated the ClampedLerp function on ScalarType 2017-04-03 11:01:26 +02:00
Paolo Cignoni 718f5b1824 re added include vector into histogram
Needed if you want use it without the meshes
2017-03-24 14:05:06 +01:00
Paolo Cignoni b2a2e170af Added Lerp and ClampedLerp 2017-03-15 14:42:22 +01:00
Paolo Cignoni c4d97c2c03 Huge reordering of header file inclusion order 2017-03-14 07:48:48 +01:00
Paolo Cignoni 43b22e4f42 Added a SVD based quadric optimisation for QE simplification
It allows to find the optimal position closest to a given point when
the quadrics are degenerated.
2017-02-21 16:41:45 +01:00
Paolo Cignoni 4529d09e58 Removed hard coded eigenlib path from the include. So you are free to use the version of eigen you prefer.
Note that since this commit in your projects you must add also the
eigen folder to the include path.
2017-01-26 15:31:53 +01:00
ganovelli 67621588d2 const added
added const to GetFrustum
2017-01-19 10:37:47 +01:00
ganovelli fce8b02767 Revert "const missing"
This reverts commit 825d90157c.
2017-01-13 13:34:55 +01:00
ganovelli 825d90157c const missing
GetFrustum does not chang ethe object, it's const
2017-01-13 12:14:56 +01:00
Paolo Cignoni 237ff6f591 Removed duplicated function for generating baricentric coords 2016-12-20 09:12:50 +01:00
Giorgio Marcias 57f596e971 included cmath as clang was complaining 2016-12-06 11:40:50 +01:00
Guido Ranzuglia ee64908ff7 - added std prefix for linux compiler 2016-12-06 11:09:31 +01:00
Paolo Cignoni 56dcf4a513 Added a missing cast in the FromMatrix (to avoid a warning) 2016-12-04 12:19:26 +01:00
Guido Ranzuglia 5c72790884 - fixed RenderingModalityGLOptions init bug 2016-08-31 13:45:11 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Nico Pietroni 1d477515c0 Changed the epsilon value for Identity transformation in function RotationMatrix 2016-06-09 12:11:34 +00:00
granzuglia 8cd4278c45 removed compiler error on sqrt 2016-05-06 02:14:54 +00:00
Paolo Cignoni eac3243375 Added comments and MaxCountInRange function to get the max bucket count in the specified range 2016-04-20 22:05:28 +00:00
Paolo Cignoni a58040cf9c Switched to eigen to find the optimal position for quadric. Removed old unused funcitons. Commented. 2016-03-24 14:15:55 +00:00
Luigi Malomo bef4835ca2 added static identity function to matrix33 2016-03-21 15:16:50 +00:00
Paolo Cignoni 8ee0aafb6e Added Sgn function
added hack for missing is_nan in mingw 
Thanks to Antonio Nicoletti
2016-02-11 15:43:20 +00:00
Nico Pietroni 303be4bbd0 templated FibonacciPt function on ScalarType 2015-12-24 10:55:48 +00:00
Paolo Cignoni 0f05ee423d Added Fibonacci sampling, renamed to more meaningful names the sampling algs 2015-11-04 23:49:35 +00:00
Paolo Cignoni 47aaea332a removed old style usage of hash map and substituted with c+11 sytle unordered set and map. 2015-09-13 06:20:20 +00:00
Paolo Cignoni 181cef32fa Refactored a bit to allow the conversion of shot and cameras from float to double (added the notoriuous vcg style Construct) 2014-08-10 00:30:20 +00:00
granzuglia cb015f4a5c matrix44.h:
- removed Visual Studio warnings
2014-08-09 10:06:34 +00:00
Paolo Cignoni 3784295ac6 comment cleaning up 2014-08-09 00:16:50 +00:00
Paolo Cignoni 4547c0ee01 Fixed "rad" bug in RotationMatrix 2014-07-17 17:45:47 +00:00