Commit Graph

93 Commits

Author SHA1 Message Date
Paolo Cignoni 07613df38d Added Zmode for moving objects along the perpendicular to the viewplane 2006-02-13 13:10:27 +00:00
Paolo Cignoni 1cb45963f9 Corrected small bugs on rotating after scaling+translating
changed void PlaneMode::Apply and void SphereMode::Apply
2006-01-12 15:40:05 +00:00
Paolo Cignoni 1ad3bfb230 Main restructuring. Removed the Draw function and slightly changed the meaning of the trackball itself.
See the notes at the beginning of trackball.h
2005-10-17 01:29:46 +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
Marco Callieri bf23eca7be in SphereMode::Hit added a check on the sphere intersection, if no intersection, calculating distance could generate a NAN exception 2005-07-15 16:39:30 +00:00
Marco Callieri 2e76236b31 changed the name of some intersection functions to avoid ambiguity 2005-06-29 15:22:26 +00:00
ganovelli 820aa5dbd1 modes deallocation commented (quick and dirty solution..to debug) 2005-04-17 17:48:24 +00:00
ganovelli a07352eacd "void" added 2005-04-14 21:29:03 +00:00
ganovelli 46ede434d8 *** empty log message *** 2005-04-14 21:23:39 +00:00
Federico Ponchio 2328e5b1e4 *** empty log message *** 2005-04-14 11:35:09 +00:00
Federico Ponchio 09c6d67301 Minimal fix in remoteness (Bugged anyway) 2005-03-02 15:13:45 +00:00
Federico Ponchio 048c401f92 small bugs 2005-02-22 14:33:04 +00:00
Paolo Cignoni b80cfc783d changed pointf to point<t> in ViewLineFromWindow 2005-02-11 11:53:18 +00:00
Paolo Cignoni 6a41a6ba9b Trackball translation corrected 2005-02-11 11:44:07 +00:00
mtarini 0233f3799a dispelled the mega-evil of GL_TRANSPOSE_*_MATRIX_ARB 2005-02-10 20:09:11 +00:00
Nico Pietroni 0e290b75d4 some warning corrected 2005-02-02 16:46:41 +00:00
Federico Ponchio ee2a720b71 Added remoteness ("distance" from frustum) 2005-01-21 18:06:05 +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
ganovelli 5bdfe060a0 PlaneMode completed 2005-01-14 15:44:03 +00:00
Paolo Cignoni 409ceaf11f *** empty log message *** 2004-12-17 10:28:10 +00:00
Federico Ponchio 37e7cd9ada Cleaning up and planes init more stable. 2004-10-04 12:33:02 +00:00
Federico Ponchio 44f6565e1e Added a 'else'. 2004-09-28 15:30:12 +00:00
Federico Ponchio 89c3695006 Various generic changes. 2004-09-28 10:23:28 +00:00
Federico Ponchio b4e6ecabbe Added #include <GL/gl.h> 2004-09-28 10:22:00 +00:00
Paolo Cignoni 542670453b Removed many small warnings 2004-09-09 22:59:21 +00:00
Federico Ponchio 276c9f7dbb #include <gl... -> #include <GL... 2004-09-09 14:38:52 +00:00
Paolo Cignoni 4857d01a44 Added Scaling 2004-07-18 06:54:08 +00:00
Paolo Cignoni e2763f9a8b Added scaling by wheel 2004-07-11 22:06:56 +00:00
Paolo Cignoni 782b814293 Heavily restructured. To be completed only rotation works... 2004-06-09 14:01:13 +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 8381f2f5a0 Redesigned partial version. 2004-05-14 03:15:09 +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 f6eb36cac1 Fixed current_action initialization. 2004-03-31 15:08:03 +00:00
Federico Ponchio 5f01ce404d CAMERA_H -> VCG_CAMERA_H 2004-03-31 15:07:37 +00:00
Federico Ponchio 2e7c78de96 #include <camera> -> #include <view> 2004-03-31 15:06:41 +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
Federico Ponchio 033ed78dcd *** empty log message *** 2004-03-08 01:37:22 +00:00
Federico Ponchio 1b0da632fe First DRAFT version. 2004-03-06 16:00:59 +00:00