Commit Graph

305 Commits

Author SHA1 Message Date
Paolo Cignoni 4c1f6e73b6 removed small gcc compiling issues 2005-03-18 00:14:40 +00:00
Paolo Cignoni 27694f7a67 Added operator*=( std::vector<PointType> ...) to apply a matrix to a vector of vertexes (replacement of the old style mesh.Apply(tr). 2005-03-15 11:40:56 +00:00
Paolo Cignoni c272706c18 Added missing include<vector> 2005-03-14 09:23:40 +00:00
Paolo Cignoni b01f11a93e Corrected declaration and some syntax errors in GetFrustum 2005-02-22 10:57:58 +00:00
ganovelli 31ac4bbe6f GetFrustum moved from gl/camera to math/camera.h 2005-02-21 18:11:47 +00:00
Paolo Cignoni 5d6d76694c Added matrix-vector multiplication 2005-02-16 11:11:12 +00:00
Paolo Cignoni 2fe93647ab added principal point 2005-02-15 14:55:52 +00:00
Federico Ponchio 40e7925c1c <...Point3.h> -> <...point3.h> 2005-01-22 11:20:20 +00:00
Paolo Cignoni b0978eb3d1 *** empty log message *** 2005-01-18 16:40:50 +00:00
Federico Ponchio 3cf27b9f2b Far and end are reserved. 2005-01-18 15:14:22 +00:00
Federico Ponchio fa6da0bbf3 vcg/Point.h -> vcg/point.h (again!) 2005-01-14 15:28:33 +00:00
ganovelli c3627e348e corretto cambiamento di sistema di rif. 2005-01-05 13:26:15 +00:00
ganovelli c2fb300d85 aggiunte conversione di coordinate 2005-01-05 13:25:29 +00:00
Paolo Cignoni 4a7a4ce0b3 *** empty log message *** 2004-12-16 11:22:30 +00:00
Paolo Cignoni 1b08ca6ab1 *** empty log message *** 2004-12-16 11:21:03 +00:00
Paolo Cignoni 02aee67598 *** empty log message *** 2004-12-15 18:45:50 +00:00
Paolo Cignoni 71a73a7ad6 added an alternative QuadricMinimization (we should use LRU decomposition!!) 2004-12-10 01:31:59 +00:00
Paolo Cignoni 1380ee7712 added an inline and removed loggng 2004-12-10 01:03:15 +00:00
Federico Ponchio d02c45b27f _near and _far are reserved keywords 2004-12-04 15:51:22 +00:00
Federico Ponchio a53f846189 #include <...Point --> #include <...point
Again... Gano malefico.
2004-11-30 21:48:47 +00:00
Paolo Cignoni 1d72b1f687 removed comment in comment gcc warning 2004-11-23 10:15:38 +00:00
ganovelli e70b193cf0 Point?.h to point?.h 2004-11-03 09:40:53 +00:00
ganovelli d0c1352cf3 SetPerspective and SetFrustum added (same parameters as in opengl) 2004-11-03 09:32:50 +00:00
ganovelli 92f008a33d replaced Matrix44f to Matrix44<S>, added LookAt 2004-11-03 09:25:52 +00:00
Federico Ponchio 8de360b0ac typedef ScalarType ScalarType; was a problem on g++ 2004-10-25 16:23:51 +00:00
ganovelli 5f84e02239 template changed 2004-10-25 16:15:59 +00:00
Federico Ponchio 1a66972c51 return in operator+ added. 2004-10-22 14:41:30 +00:00
Federico Ponchio 942705dd10 m.element(x, y) -> m[x][y] 2004-10-22 14:35:42 +00:00
Federico Ponchio 29b2d65bb3 #include <...Point --> #include <...point 2004-10-22 14:29:40 +00:00
Paolo Cignoni 13190dfe88 Updated interface: all Matrix classes have now the same interface 2004-10-18 15:03:14 +00:00
Paolo Cignoni 77dc6537fa bug fixed in SingularValueBacksubstitution 2004-10-18 12:18:10 +00:00
Paolo Cignoni 1422c15f6f - Added SetDiagonal method
- Bug fixed in RowsNumber and ColumnsNumber
2004-10-18 12:16:57 +00:00
Paolo Cignoni 7767e4a63b Added SingularValueDecomposition method 2004-10-18 08:25:28 +00:00
Paolo Cignoni d403de71f8 Little fix on Jacobi() function 2004-10-15 14:17:53 +00:00
Paolo Cignoni 546d4d88e1 Initial commit 2004-10-15 13:44:09 +00:00
Paolo Cignoni 3c64d38fd1 Little fix on ViewPoint() method 2004-10-07 14:41:31 +00:00
Paolo Cignoni ec6ec72821 Remove glew.h include 2004-10-07 14:39:57 +00:00
ganovelli eaea30aa5e added LookAt,LookToward 2004-10-07 14:24:53 +00:00
ganovelli 23b83d0a7e added function to take rows and comlumns. Added toMatrix and fromMatrix to comply
RotationTYpe prototype in Similarity.h
2004-10-07 14:23:57 +00:00
ganovelli 30c9628f43 y axis reverse in projecting (!) 2004-10-07 14:22:38 +00:00
ganovelli 5d07b02cf6 templated on the kind of class used to implement rotation
(default is QUternion but it can be Matrix44 as well)
2004-10-07 13:55:47 +00:00
ganovelli 23a3ce597e added SetIdentity 2004-10-07 13:54:03 +00:00
ganovelli 4a28f05056 version 5-10-2004 in progress 2004-10-05 19:04:25 +00:00
ganovelli c97e11dbb8 re-creation 2004-09-15 22:58:05 +00:00
ganovelli 8bb2f10d57 created 2004-09-14 19:48:27 +00:00
Paolo Cignoni 14a1c4c1e7 Aggiunte macro sin/cos/atan per C++ Builder 2004-08-31 15:42:59 +00:00
ganovelli 0bbd5bb33b minor changes to comply gcc compiler (typename's and stuff) 2004-08-25 15:15:27 +00:00
Paolo Cignoni 2376184409 removed uppercase references in include 2004-07-13 06:48:30 +00:00
Paolo Cignoni 535a76ce2b Initial Release 2004-06-24 09:12:28 +00:00
Paolo Cignoni ae77c7c439 added InverseMatrix, 2004-06-04 13:35:07 +00:00
ganovelli e463b177f3 created 2004-05-28 13:09:05 +00:00
ganovelli dbf04df4b2 removed 2004-05-28 13:08:15 +00:00
ganovelli 27891d3198 changed scalar to ScalarType 2004-05-28 13:01:50 +00:00
ganovelli 7680f6a7bf created 2004-05-28 13:00:39 +00:00
Paolo Cignoni d97337ee47 better comments in set rotate 2004-05-26 15:09:32 +00:00
ganovelli 700d8efbef limits function cancelled 2004-05-10 13:00:14 +00:00
Paolo Cignoni ab4f6f00ef missing final newline 2004-05-07 10:09:13 +00:00
Paolo Cignoni 6978e8e861 Corrected abuse of for index variable scope 2004-05-07 10:05:50 +00:00
Paolo Cignoni b1415f5484 unified to the gl stlyle matix*vector. removed vector*matrix operator 2004-05-04 23:23:45 +00:00
Paolo Cignoni 4705d0e5ef Clarified initial comment, removed vector*matrix operator (confusing!)
Corrected translate and Rotate, removed gl stuff.
2004-05-04 23:19:41 +00:00
ganovelli 115111f1bb wrong use of operator [] corrected 2004-05-04 02:34:03 +00:00
ganovelli cee79014d1 correction on templates 2004-05-03 08:38:08 +00:00
ganovelli 1b3fc69fac Min and Max changed from const members to static class function
Use: Value<float>::Min()
2004-04-15 09:36:59 +00:00
Paolo Cignoni 5f1450fd62 updated access to matrix44 elements through V() instead simple [] 2004-04-07 10:48:37 +00:00
Paolo Cignoni 7ea2f49da5 Added: [i][j] access, V() for the raw float values, constructor from T[16] 2004-04-07 10:45:54 +00:00
mtarini 0002503283 debugged Max and Min const values (to make them linkable) 2004-03-31 12:41:55 +00:00
Paolo Cignoni 0a7cf4514f int64 -> long long for GCC compatibility 2004-03-31 10:09:19 +00:00
Federico Ponchio ae639dd45a Microerror. ($LOG$ -> $Log: $ 2004-03-25 14:57:50 +00:00
Federico Ponchio 7f79205b30 Microerror. ($LOG$ -> $Log: $ 2004-03-25 14:57:49 +00:00
Federico Ponchio fcdf344cf6 *** empty log message *** 2004-03-25 13:54:06 +00:00
mtarini 68b448da9e first version 2004-03-16 03:08:17 +00:00
mtarini e4cf5549cd - added VoidType - added "static_assert" 2004-03-16 00:23:50 +00:00
mtarini bc1fdc913b Added Atan2.
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example:  Value<float>::Max
2004-03-10 17:37:54 +00:00
mtarini eda1533770 Added Atan2.
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example:  Value<float>::Max
2004-03-10 16:54:57 +00:00
Federico Ponchio 499b368150 Double - float conversions. 2004-03-09 20:54:57 +00:00
mtarini 5ed7bf6aba (CVS did not want to undo update) 2004-03-09 17:55:04 +00:00
Federico Ponchio 1fb1bcafd5 Variuos errors and minor changes. 2004-03-09 13:57:29 +00:00
mtarini 7a5b65928b *** empty log message *** 2004-03-08 19:40:48 +00:00
mtarini ed506a2ea5 first version (tarini) 2004-03-08 19:38:29 +00:00
Federico Ponchio 745f415f4e Small errors. 2004-03-08 15:33:58 +00:00
Federico Ponchio a9f4159490 Transpose had some errors. 2004-03-08 14:49:58 +00:00
Federico Ponchio a462f2ce71 Aggiunti un po di inline davanti alle funzioni 2004-03-08 14:49:37 +00:00
Federico Ponchio a7a6bc009e Added header. 2004-03-08 01:48:13 +00:00
Federico Ponchio 10e01614a6 Renamed. 2004-03-06 15:48:16 +00:00
Federico Ponchio ae18099281 Added Import. 2004-03-06 15:46:43 +00:00
Federico Ponchio 59d5a521a8 Renamed from similar 2004-03-06 15:45:35 +00:00
Federico Ponchio 02966b735b Created. 2004-03-05 15:15:11 +00:00
Federico Ponchio edb97e9493 Varie correzioni. 2004-03-04 02:10:14 +00:00
Federico Ponchio 827fcf31b1 Post moltiplication was wrong. 2004-03-04 00:45:51 +00:00
Federico Ponchio bace904c2e Added a return in Invert 2004-03-04 00:28:39 +00:00
Federico Ponchio 5a3ae0799c first version 2004-03-04 00:21:33 +00:00
Federico Ponchio e5cde4e163 added Acos e Asin 2004-03-04 00:21:00 +00:00
Paolo Cignoni 5332b4ac5b changed math from class to template 2004-03-03 22:51:49 +00:00
Federico Ponchio 2a7b7cd304 *** empty log message *** 2004-02-19 15:54:11 +00:00
Federico Ponchio ca807a0787 *** empty log message *** 2004-02-19 15:28:01 +00:00
Federico Ponchio 9b71765561 Doxygen and minimal changes. 2004-02-19 14:58:23 +00:00
Federico Ponchio 073d9ba770 Created. 2004-02-19 14:42:05 +00:00
Paolo Cignoni 5a558b0f8c Edited Comments and GPL license 2004-02-13 02:18:57 +00:00
Federico Ponchio ea0cf9013d *** empty log message *** 2004-02-09 13:33:32 +00:00
Federico Ponchio 04afe4c81e Adding base.h 2004-02-09 13:32:16 +00:00
Paolo Cignoni 2ddf441524 Corrected Clamp 2004-02-09 01:19:49 +00:00
Paolo Cignoni 159bd2bf10 Added Magnitudo Comparer 2004-02-09 00:27:38 +00:00
Paolo Cignoni a77d22988c cleaned up todeg and torad 2004-02-08 18:11:21 +00:00
Paolo Cignoni 08a437c3c3 First commit... 2004-02-06 02:24:47 +00:00
Paolo Cignoni 23653c6752 First commit... 2004-02-06 02:17:09 +00:00