Commit Graph

24 Commits

Author SHA1 Message Date
Paolo Cignoni 2e65cae10e HEAVY CHANGE. Further cleaning of the matrix classes of VCG.
Get rid of all the unused stuff. 
internally use Eigen for computing Inverse. 
Removed the stupid incomprehensible method Invert() that changed the matrix itself. 
Nobody was using it in a reasonable way.
2013-03-19 16:59:45 +00:00
Paolo Cignoni 2fe129645b Rolled back 2011-10-05 15:04:40 +00:00
Federico Ponchio 327de0c77e fixed bug in getModelPlane 2010-11-15 00:09:48 +00:00
Federico Ponchio bae0c7decc added SetView allowing direct passing of matrices. 2010-04-20 18:23:51 +00:00
Paolo Cignoni 946ae834b8 Changed the include guard. Added comment to remember that the View class is used only by the trackball 2009-03-11 09:32:12 +00:00
Paolo Cignoni 0f2d864e05 remove a trailing print() 2008-10-30 11:31:28 +00:00
Paolo Cignoni e587581275 add transposeInPlace and duplicate V(int) 2008-10-29 11:17:11 +00:00
Paolo Cignoni ab200fc950 Port to eigen2: state of the mess:
* curently nothing change if you don't define VCG_USE_EIGEN
* make Matrix*, Point3 and Point4 derive Eigen::Matrix (still ugly)
* now catching all the dot products to replace them by .dot()
  note that most of meshlab already compile
2008-10-27 19:35:17 +00:00
Paolo Cignoni 55bf686991 Added guards for opengl including in mac compiling 2007-02-22 09:17:29 +00:00
Paolo Cignoni 13a26e1b89 Added cast for mac compiling 2007-01-18 01:26:23 +00:00
Federico Ponchio 16eafff705 Fixed viewport<->window coordinate change for the z. (z = 2*z -1 now)
Accordingly to gluUnproject documentation.
2005-10-15 15:23:32 +00:00
Paolo Cignoni b80cfc783d changed pointf to point<t> in ViewLineFromWindow 2005-02-11 11:53:18 +00:00
mtarini 0233f3799a dispelled the mega-evil of GL_TRANSPOSE_*_MATRIX_ARB 2005-02-10 20:09:11 +00:00
Paolo Cignoni 20891ed96b Removed the inclusion of a glext.h 2005-01-19 10:29:45 +00:00
Paolo Cignoni 7dca7fd327 *** empty log message *** 2005-01-18 16:47:42 +00:00
Federico Ponchio b4e6ecabbe Added #include <GL/gl.h> 2004-09-28 10:22:00 +00:00
Paolo Cignoni 66e7c5372e Removed inclusion of gl extension stuff 2004-05-26 15:15:46 +00:00
Federico Ponchio bc4db34d6e Added ViewLineFromModel 2004-05-14 03:15:40 +00:00
Federico Ponchio c66c874c06 *** empty log message *** 2004-05-12 20:55:18 +00:00
Paolo Cignoni 6df79edd1f Restructured and adapted in a better way to opengl 2004-05-07 12:46:08 +00:00
Paolo Cignoni e5aef23c44 Commented out unused parameter names and other minor warning related issues 2004-04-07 10:54:11 +00:00
Federico Ponchio 5f01ce404d CAMERA_H -> VCG_CAMERA_H 2004-03-31 15:07:37 +00:00
Federico Ponchio 00b39c914a Adding copyright. 2004-03-25 14:55:25 +00:00
Federico Ponchio 7e2ee081ac first release 2004-03-25 14:50:08 +00:00